factor/extra/tetris
Alex Chapman 4f815ccc03 tetris: use alarms instead of old timers library 2008-03-04 12:16:46 +11:00
..
board Rename unit-test-fails to must-fail and add must-fail-with to replace [ t ] [ [ ... ] catch ... ] unit-test idiom 2008-02-06 13:47:19 -06:00
game Updating summary and authors 2008-01-27 01:02:31 -04:00
gl Updating summary and authors 2008-01-27 01:02:31 -04:00
piece Updating summary and authors 2008-01-27 01:02:31 -04:00
tetromino Updating summary and authors 2008-01-27 01:02:31 -04:00
README.txt Initial import 2007-09-20 18:09:08 -04:00
authors.txt Initial import 2007-09-20 18:09:08 -04:00
deploy.factor Update deploy.factor files for renaming of config flag 2007-11-05 00:47:13 -05:00
summary.txt Initial import 2007-09-20 18:09:08 -04:00
tags.txt Initial import 2007-09-20 18:09:08 -04:00
tetris.factor tetris: use alarms instead of old timers library 2008-03-04 12:16:46 +11:00

README.txt

This is a simple tetris game. To play, open factor (in GUI mode), and run:

"tetris" run

This should open a new window with a running tetris game. The commands are:

left, right arrows: move the current piece left or right
up arrow:           rotate the piece clockwise
down arrow:         lower the piece one row
space bar:          drop the piece
p:                  pause/unpause
n:                  start a new game

TODO:
- rotation of pieces when they're on the far right of the board
- make blocks prettier