Skip to content

Neverblade/Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris

A clone of the classic game Tetris.

To play, compile Tetris.java and run.

Controls:

left/right arrow - move piece left and right
down arrow - soft drop
up arrow/x - rotate clockwise
z - rotate counterclockwise
space - hard drop
p - pause

What I Learned:

Using SwingWorker as a way to balance both game-loop changes and user input.
Using JPanel as a way to easily create resizeable grid GUIs.
The mechanics behind Tetris, including pivot points, spinning, and leveling mechanics.

About

A clone of the classic game Tetris.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages