pouët.net

Christmas Diamonds by Moods Plateau [web]

Christmas Diamonds (Z80 Assembler)

Author:   dOc.K / Moods Plateau
Category: Christmas Challenge
System:   KC 85/4
Language: Z80 Assembler (z80asm)
Len source code: 198 bytes
Len exe file:    256 bytes
Len code only:   32 bytes
Instructions:
  Goto https://www.lanale.de/kc85_emu/KC85_Emu.html
  Type "LOAD" <ENTER>
  Select DIAMONDS.KCC file
  The program will start automatically.
Description:
  After trying a simple algorithm that determined
  the star positions by the two linear equations
  x % 6 - y % 6 = 0 and 6 - x % 6 - y % 6 = 0
  that was very small already, I still found an
  even shorter solution.
Comments:
  Merry christmas 2 U! <3