Skip to content

ryuma69/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Java Tetris

A simple Java-only Tetris game using Swing.

Download and play

  1. Install a Java JDK (Java 11 or newer recommended).
  2. Open a terminal in this repository folder.
  3. Compile the game:
javac Tetris.java
  1. Run the game:
java Tetris

Controls

  • Left arrow: move left
  • Right arrow: move right
  • Down arrow: soft drop
  • Up arrow: rotate
  • Space: hard drop
  • P: pause

Notes

  • This is a standalone Java desktop application; no web deployment is required.
  • If the game ends, close the window and rerun java Tetris to play again.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages