Classical Tetris Game in Java, using SWING and AWT to implement GUI.
git clone
this repository- in terminal,
cd Tetris/src
- run the file by using
java Main
command
This game uses simple UP, DOWN, LEFT and RIGHT keystrokes to control the movement of tetris brick.
- UP: rotate the tetris brick
- DOWN: accelerate the tetris brick downwards
- LEFT: move the tetris brick to left
- Right: move the tetris brick to right
Whenever a line is full, the score would add 20 marks. The game ends when the brick stacks at the top.
- Ask for username and password and store the highest score for each user.
- Make the GUI interface prettier.
- Add different game modes/levels.