factor/extra/tetris
Doug Coleman b7c1f9dbe8 extra changes:
index* -> index-from
last-index* -> last-index-from
1 tail -> rest
1 tail-slice -> rest-slice
subset -> filter
prepose
find* -> find-from
find-last* -> find-last-from
before, after generic, < for integers
make between? work for timestamps
2008-04-25 23:17:08 -05:00
..
board extra changes: 2008-04-25 23:17:08 -05:00
game
gl
piece
tetromino
README.txt
authors.txt
deploy.factor
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