Christmas Snowflake
Author: George Phillips
Category: Christmas Challenge
System: TRS-80 Model 3
Language: Disk BASIC
Len source code: 122
Len exe file:
Len code only:
Instructions:
Run trs80gp in model 3 mode (http://48k.ca/trs80gp.html)
trs80gp -m3
then go into basic
BASIC
press enter to skip prompts
copy and paste bsnow.txt
RUN
Description:
Encodes the vertical and diagonal bars as equations (X=Y, X=9, etc)
and the 1/8 slice as coodinate pairs in a string. Prints a star if
an X,Y equation is true of if the character X*10+Y is in a string.
Comments:
I went through about 8 versions before I came up with this.