Skip to content

Instantly share code, notes, and snippets.

@tomaes tomaes/run.bas
Created May 22, 2019

Embed
What would you like to do?
Avoid bricks flying your way. Mini game in IchigoJam BASIC.
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
You can’t perform that action at this time.