Oneliner symmetries
Author: issalig
Category: Christmas Challenge
System: Amstrad CPC
Language: Locomotive BASIC
Len source code: 169
Len exe file: 187
Len code only: 168
Instructions:
Install RetroVirtualMachine or WinAPE
Insert disk vc3.dsk
Then in BASIC type: RUN "VC3
Description:
It draws a snowflake. It makes use of quadrant symmetries (ABS) and pattern in defined in an array (DATA).
Then, it uses a function to get the character * (ascii 42) or space (ascii 32). Central row is always stars.
In particular, the function is
(42+10*(((A*B=0)OR(D(A)AND 2^(B-1)))=0))
Comments:
For otaining Len exe code iDSK vc3.dsk -b vc3.bas