factor/extra/tetris
slava e29f18a2f4 Trying to fix a bad merge...
Revert "Merge branch 'master' of git://factorcode.org/git/factor"

This reverts commit da639739bd, reversing
changes made to 346a61f497.
2009-02-03 00:27:34 -06:00
..
board Fixed tetris and moved it from unmaintained to extra 2008-10-02 11:12:46 +10:00
game Fixing various test failures and updating some more vocabs for >r/r> removal 2008-12-17 22:29:32 -06:00
gl Fixing various test failures and updating some more vocabs for >r/r> removal 2008-12-17 22:29:32 -06:00
piece Fixed tetris and moved it from unmaintained to extra 2008-10-02 11:12:46 +10:00
tetromino Trying to fix a bad merge... 2009-02-03 00:27:34 -06: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 Update deployment descriptors for deploy-random? removal 2008-11-06 01:40:54 -06: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 Fix some vocabularies for new requirement that inline words have a stack effect declaration 2008-12-15 20:31:55 -06: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