Illuminated Christmas
Author: Alexandre Lehmann Holzhey
Category: Christmas Challenge
System: Atari XL
Language: BASIC (FastBasic 4.6 - https://github.com/dmsc/fastbasic/releases/tag/v4.6)
Len source code: 113 bytes
Len exe file: 3364 bytes (compiled XEX executable)
Len code only: 113 bytes
Instructions:
Start Atari800MacX emulator (tested on version 6.0.1 set to an Atari 800XL 64K RAM - https://www.atarimac.com/atari800macx.php) and drag'n'drop the file logiker.atr into it.
Any Atari XL emulator should be possible to be used, including a real Atari XL machine, of course.
Description:
I visualized the target pattern in an extended 25 x 19 area, which allows using an "arkanoid like" algo (a "ball" go over the space).
Then to get the target pattern i just cropped the output drawing. I used a simple pong algo with screen address coordinates (pokes).
I benefit from simple comparisons for the vertical control and modulus for the horizontal one. The modulus is also used to crop the output.
Comments:
I basically found this solution by mistake! I coded it with a bigger area, then when compared with the goal i had to easily find the crop solution.
But i think this approach is very simple and hard to realize, so i decided to use it!
Mac OS X 2 q £ ATTR £ com.apple.provenance IóÜçÏ@