diff options
Diffstat (limited to 'tetris/tetris.prn')
-rw-r--r-- | tetris/tetris.prn | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/tetris/tetris.prn b/tetris/tetris.prn index 3f021b9..c11ec57 100644 --- a/tetris/tetris.prn +++ b/tetris/tetris.prn @@ -1,13 +1,24 @@ @includeonce "io.prn" @includeonce "utility.prn" @includeonce "blocks.prn" +@includeonce "engine.prn" -0 "i" store -i b_nblocks < while - io_clearscreen - io_windowbox - 0 0 i b_drawblock - 1000000 sleep - i 1 + "i" store -i b_nblocks < end + +#PARAMETERS +0 "origin_x" store +5 "origin_y" store +3 "padding_x" store +2 "padding_y" store +11 "ntiles_x" store +13 "ntiles_y" store +3 "tile_sizex" store +2 "tile_sizey" store + +500000 "sleep_time" store + + +#RUNNING THE GAME +e_init +#e_test +e_runloop io_pos_after io_goto |