Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liebharc/scalatetris
A really simple Tetris implementation in Scala
https://github.com/liebharc/scalatetris
Last synced: about 1 month ago
JSON representation
A really simple Tetris implementation in Scala
- Host: GitHub
- URL: https://github.com/liebharc/scalatetris
- Owner: liebharc
- Created: 2016-02-21T05:51:01.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-21T06:41:15.000Z (almost 9 years ago)
- Last Synced: 2024-04-20T00:24:32.902Z (9 months ago)
- Language: Scala
- Homepage:
- Size: 52.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scala Tetris
A really simple Tetris implementation in about 600 lines of Scala code.
![Screenshot](Screenshot.png)
## Build
`sbt run` should do the trick.## Gameplay
There are two modes: Running and pauseControls in running mode, the game starts in this mode:
1. W - Move stone left
2. D - Move stone right
3. S - Move stone down
4. Q - Rotate stone left
5. E - Rotate stone right
6. P - Pause gameControls in pause mode, the game enters this mode if 'P' is pressed or the game is over:
1. W - Move backward in time
2. D - Move back into the future
3. R - Start a new game
4. C - Continue the game from the current position in timeHave fun!