factor/extra/tetris
Doug Coleman b6e518e4bb Merge remote-tracking branch 'origin/master' into modern-harvey3 2020-03-04 19:19:01 -06:00
..
board Merge remote-tracking branch 'origin/master' into modern-harvey3 2020-03-04 19:19:01 -06:00
game tetris.game: fix tests. 2020-02-12 08:38:41 -08:00
gl tetris: some cleanup, simplify. 2020-02-11 13:57:19 -08:00
piece tetris: some cleanup, simplify. 2020-02-11 13:57:19 -08:00
tetromino factor: char: postpone: color: hexcolor: flexhexcolor: decimal: 2017-08-31 21:21:13 -05:00
README.txt
authors.txt
deploy.factor
summary.txt
tags.txt
tetris.factor tetris: some cleanup, simplify. 2020-02-11 13:57:19 -08: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