Skip to content

Instantly share code, notes, and snippets.

@tomaes
Created May 22, 2019 06:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomaes/63441939b65eae07ed0efa0e6669c17a to your computer and use it in GitHub Desktop.
Save tomaes/63441939b65eae07ed0efa0e6669c17a to your computer and use it in GitHub Desktop.
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