factor/extra/tetris
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
..
board Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
game Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
gl Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
piece Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
tetromino Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
README.txt Fixed tetris and moved it from unmaintained to extra 2008-10-02 11:12:46 +10:00
authors.txt Fixed tetris and moved it from unmaintained to extra 2008-10-02 11:12:46 +10:00
deploy.factor tools.deploy.backend: ui depends on (full) io so it needs to be loaded first 2014-07-03 21:57:07 +00:00
summary.txt Fixed tetris and moved it from unmaintained to extra 2008-10-02 11:12:46 +10:00
tags.txt Fixed tetris and moved it from unmaintained to extra 2008-10-02 11:12:46 +10:00
tetris.factor Rename alarms -> timers 2010-06-10 16:39:13 -05: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
- possibly make piece inherit from tetromino