scene.org File Archive

File download

<root>­/­parties­/­2022­/­vccc22­/­christmas_star_challenge/herpes_linuxpc_python3x_vc3-2022.zip

File size:
1 910 373 bytes (1.82M)
File date:
2022-12-30 11:32:13
Download count:
all-time: 7

Preview

  • code.png 1.17M
  • file_id.diz 1.05K
  • result.png 660.83K
  • star.py 326B

file_id.diz

<dropping pystar>

Author: <Herpes / Sign>
Category: <Christmas Challenge>
System:   <PC>
Language: <Python 3.x>
Len source code: <# 326 bytes>
Len exe file:    <# bytes>
Len code only:   <# bytes> (valid for assembler only; length of executable without BASIC stub)
Instructions:
<python star.py>
<start from shell; install python 3.x; in shell preferably linux bash run 'python star.py'>
Description:
<The star is encoded in a list of list of tuples.
not optimized at all but the loop and the function mirror horizontally
and vertically by just reusing the reverse list with the python slicing
functionality.>
Comments:
<I horribly overestimated my time budget - I started on 24th of December
and had all in all 3 hours to think about it - therefore I would be
astonished, if there wouldn't be a much better version available.
Furthermore my python-skills are pretty bad. And I didn't make it
to my favorite language Amiga 68K assembly. The reason why I switched to
python is because Java - my first try sucked so much that it needed
990 bytes so I had to throw in my towel.>