Created
May 22, 2019 06:14
-
-
Save tomaes/63441939b65eae07ed0efa0e6669c17a to your computer and use it in GitHub Desktop.
Avoid bricks flying your way. Mini game in IchigoJam BASIC.
This file contains hidden or 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
10 'ラン | IchigoJam BASIC | |
12 CLS | |
13 CLT | |
14 Y=12 | |
20 LC 4,Y | |
22 ?CHR$(251) | |
26 LC 28,RND(23) | |
28 ?CHR$(6);CHR$(6);CHR$(6) | |
30 SCROLL 3 | |
33 Y=Y-BTN(UP)+BTN(DOWN) | |
37 IF !SCR(5,Y) AND Y>0 AND Y<23 GOTO 20 | |
50 CLK | |
55 LC 0,23 | |
60 ?"GAME OVER! SCORE:";TICK() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment