8000 GitHub - YufeiZhan/Tetris: Classical Tetris Game in Java
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

YufeiZhan/Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Tetris

Classical Tetris Game in Java, using SWING and AWT to implement GUI.

User Guide

How to run it

  1. git clone this repository
  2. in terminal, cd Tetris/src
  3. run the file by using java Main command

Mechanism

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.

Future Implement

  1. Ask for username and password and store the highest score for each user.
  2. Make the GUI interface prettier.
  3. Add different game modes/levels.

About

Classical Tetris Game in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0