Last active
June 4, 2018 21:42
-
-
Save ajc2/dc95920d5c34c368dc8a15cf2ee4be1f to your computer and use it in GitHub Desktop.
SCRIPT-8
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
/* | |
* Snake clone | |
* snail_ 2018 | |
*/ | |
script8.initialState = { | |
score: 0 | |
} | |
script8.update = (state, input, elapsed) => { | |
} | |
script8.draw = state => { | |
clear() | |
// Draw the border | |
} |
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
{ | |
"0": [ | |
"00000000", | |
"00000000", | |
"00000000", | |
"00000000", | |
"00000000", | |
"00000000", | |
"00000000", | |
"00000000" | |
], | |
"1": [ | |
"11111111", | |
"11111111", | |
"11111111", | |
"11111111", | |
"11111111", | |
"11111111", | |
"11111111", | |
"11111111" | |
], | |
"2": [ | |
"3333 333", | |
"3333 333", | |
"3333 333", | |
" ", | |
"33 33333", | |
"33 33333", | |
"33 33333", | |
" " | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment