factor/extra/tetris
John Benediktsson 59caf874a3 syntax: removing #! as a comment character.
We don't need two types of comments and shebang (#!) is handled
natively by the lexer, so the original reason for #! is not valid.
2015-09-09 18:28:08 -07:00
..
board syntax: removing #! as a comment character. 2015-09-09 18:28:08 -07:00
game
gl syntax: removing #! as a comment character. 2015-09-09 18:28:08 -07:00
piece syntax: removing #! as a comment character. 2015-09-09 18:28:08 -07:00
tetromino
README.txt
authors.txt
deploy.factor
summary.txt
tags.txt
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