Created
October 11, 2015 11:07
-
-
Save anonymous/4bff9d3f107c10eec80f to your computer and use it in GitHub Desktop.
Octo Chip8 Program
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Play this game by pasting the program into http://johnearnest.github.io/Octo/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"tickrate":20,"fillColor":"#FFCC00","fillColor2":"#FF6600","blendColor":"#662200","backgroundColor":"#996600","buzzColor":"#FFAA00","quietColor":"#000000","shiftQuirks":false,"loadStoreQuirks":false,"vfOrderQuirks":false,"enableXO":false} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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