/tetris-game

Tetris Game with Sound in Java

Primary LanguageJava

Java TETRIS GAME

TetrisShot

CI License

Algorithms gathered from other websites and sound files are gathered from web as well.

Game Controls

↑ - Up

↓ - Down (faster down)

← - Left

→ - Right

p - Pause game

r - Change rotation (left/right)

space - Drop the block down

x - Restart Game

Hidden sound

Points over Makes Sound
500 Holy Alphabet
1000 Holy Caffeine
3000 Holy Fruit Salad
5000 Holy Heart Failure
10000 Holy Mashed Potato
20000 Holy Nightmare
30000 Bitchin

Scoring

Action Awarded points
Down (Soft drop) 1
Drop rows * 2
1 Row cleared 100
2 Row cleared 300
3 Row cleared 600
4 Row cleared 900

Leveling

Levels up every minute regardless of scores (excluding paused time).

600ms is initial speed and every level gets faster by 50ms.

Contributors

Calvin Lee, @stalk.calvin

Add me to Instagram Instagram
Add me to Linkedin LinkedIn

Ways to play the game:

  1. clone repo: https://github.com/stalk-calvin/tetris-game.git
  2. cd tetris-game
  3. run: mvn install exec:java -Dexec.mainClass="tetris.Main"