A really simple Tetris implementation in about 600 lines of Scala code.
sbt run
should do the trick.
There are two modes: Running and pause
Controls in running mode, the game starts in this mode:
- W - Move stone left
- D - Move stone right
- S - Move stone down
- Q - Rotate stone left
- E - Rotate stone right
- P - Pause game
Controls in pause mode, the game enters this mode if 'P' is pressed or the game is over:
- W - Move backward in time
- D - Move back into the future
- R - Start a new game
- C - Continue the game from the current position in time
Have fun!