factor/extra/tetris
Doug Coleman c091ed4afc factor: FOO: -> foo: if it's not a top-level definition word. 2017-06-04 16:10:50 -05:00
..
board factor: FOO: -> foo: if it's not a top-level definition word. 2017-06-04 16:10:50 -05:00
game
gl
piece
tetromino factor: FOO: -> foo: if it's not a top-level definition word. 2017-06-04 16:10:50 -05:00
README.txt
authors.txt
deploy.factor
summary.txt
tags.txt Fixed tetris and moved it from unmaintained to extra 2008-10-02 11:12:46 +10:00
tetris.factor

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