factor/extra/tetris
Eduardo Cavazos aa40350aa7 replace add* and add with prefix and suffix 2008-03-31 18:18:05 -06:00
..
board replace add* and add with prefix and suffix 2008-03-31 18:18:05 -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
authors.txt
deploy.factor Update deploy.factor files for renaming of config flag 2007-11-05 00:47:13 -05:00
summary.txt
tags.txt
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