Skip to content

Instantly share code, notes, and snippets.

@tomaes
Created October 29, 2016 11:19
Show Gist options
  • Save tomaes/3c5404a565b8a70f4c8fb53df62d596f to your computer and use it in GitHub Desktop.
Save tomaes/3c5404a565b8a70f4c8fb53df62d596f to your computer and use it in GitHub Desktop.
A symbolic 3-liner game in symbolic instruction code (vic 20)
0 v=38400:t=7680:c=164:m=50:h=211:printchr$(5):poke36879,127
1 o=((ti/m)and7)*m:geta$:x=x-(a$=" ")+(x=21)*21
2 ifpeek(t+o)<>83thenpokev+o,2:poket+o,c:?spc(x)chr$(h):goto1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment