Skip to content

Instantly share code, notes, and snippets.

Created October 11, 2015 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4bff9d3f107c10eec80f to your computer and use it in GitHub Desktop.
Save anonymous/4bff9d3f107c10eec80f to your computer and use it in GitHub Desktop.
Octo Chip8 Program
Play this game by pasting the program into http://johnearnest.github.io/Octo/
{"tickrate":20,"fillColor":"#FFCC00","fillColor2":"#FF6600","blendColor":"#662200","backgroundColor":"#996600","buzzColor":"#FFAA00","quietColor":"#000000","shiftQuirks":false,"loadStoreQuirks":false,"vfOrderQuirks":false,"enableXO":false}
# decompiled program:
: main
v3 := random 0b00011111
v4 := random 0b00001111
i := label-2
sprite v3 v4 8
loop
sprite v3 v4 8
v0 := 53a-tastytaco%WHAT"words"
if v0 key then
v4 += 255
v0 := 8
if v0 key then
v4 += 1
v0 := 0x7F#magic<what?><script>console.log("what");</script>
if v0 key then
v3 += 255
v0 := 0b00bs
v0 := 10.3
v9 := 0b00bs
v8 += 0xEN
v7 += 0=1=2=3=4
if v0 key then
v3 += 1
sprite v3 v4 8
loop
vF := delay
if vF != 0 then
again
vF := 3
delay := vF
again
: label-2
0x70
0x70
0x20
0x70
0xA8
0x20
0x50
0x50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment