https://github.com/allanoricil/tetris
A simple Tetris game built with Java and Swing
https://github.com/allanoricil/tetris
java swing tetris
Last synced: 8 months ago
JSON representation
A simple Tetris game built with Java and Swing
- Host: GitHub
- URL: https://github.com/allanoricil/tetris
- Owner: AllanOricil
- Created: 2020-10-12T19:18:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-11T10:00:31.000Z (over 2 years ago)
- Last Synced: 2025-01-14T08:10:10.932Z (over 1 year ago)
- Topics: java, swing, tetris
- Language: Java
- Homepage:
- Size: 851 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tetris
I created this game between 2015 and 2016, in order to demonstrate the usage of my final undegrad project, a simple game library built using Java. This library uses Swing as its UI layer/rendering engine.
I started to build this Tetris game in 2015, while I was studying in the USA. In 2016, after comming back to Brazil to finish my undergraduate studies, I decided to create a game library as my final undegrad project, and use this game to demo its features.
I built it entirely alone. It is fully original, with no content copied from the internet.


## How to build
- Install [ant](https://ant.apache.org/manual/install.html)
- Then run `ant`, in the root of this folder, in a terminal of your preference.
- Go to `/dist` and open `Tetris.jar`
## How to Play
- Move a piece with `A, W, D, S` or the `arrow keys`
- Rotate a piece with `E`
- Move a piece down faster by pressing the `space bar`