vc3-2023-UriS
Author: UriS
Category: Christmas Challenge
System: ZX Spectrum
Language: BASIC
Len source code: 61 bytes (spectrum basic inner text)
Len exe file: 86 bytes (image of tape record: 25 bytes of header + 61 bytes of code)
Len code only: 61 bytes
Instructions: Install fuse (or some other zx spectrum emulator), drag and drop the vc3-2023-UriS.tap onto fuse.exe (or into running fuse window) for load, then press R (RUN) and then Eneter for run programm.
Description: Program just does some calculating, sometimes it prints asterisks ;)
Comments: The task was hacked by math ;) Unfortunately zx spectrum basic does not have "mod" or similar operation to get remainder of division, so I used the idea of cos(y+x)*PI/3=-1 and cos(y-x)*PI/3=-1 to calculate positions where need to print asterisks. Also I used some of spectrum basic fits to shrink the size of program. Resulting executable not very fast, but it is short :)