factor/extra/tetris
Slava Pestov a96457cecc Initial import 2007-09-20 18:09:08 -04:00
..
board Initial import 2007-09-20 18:09:08 -04:00
game Initial import 2007-09-20 18:09:08 -04:00
gl Initial import 2007-09-20 18:09:08 -04:00
piece Initial import 2007-09-20 18:09:08 -04:00
tetromino Initial import 2007-09-20 18:09:08 -04:00
README.txt Initial import 2007-09-20 18:09:08 -04:00
authors.txt Initial import 2007-09-20 18:09:08 -04:00
deploy.factor Initial import 2007-09-20 18:09:08 -04:00
summary.txt Initial import 2007-09-20 18:09:08 -04:00
tags.txt Initial import 2007-09-20 18:09:08 -04:00
tetris.factor Initial import 2007-09-20 18:09:08 -04: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