Play tetris in your terminal
java 1.8 Ascii compatible terminal
In terminal: java -jar TermTetris.jar {speed}
- press
rto rotate shape - press
spaceto drop shape right away - press
<-to move shape left - press
->to move shape right - press
pto pause game
P.S {speed} is delay in ms in between shapes been making its way down(the smaller it is the faster shapes will drop) default is 300ms
- Score and the next shape should appear in top of the terminal with game.
- game field is whatever size of the terminal, it does not require full screen.
- Install gradle
- ./gradlew fatjar or gradle flatjar
- java -jar ./build/libs/TermTetris-all-1.0-SNAPSHOT.jar
- add exe build https://github.com/TheBoegl/gradle-launch4j