Skip to content

eliottcoint/Tetris_project_LP2A

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Tetris Project

Overview

This project is a Java-based implementation of the classic Tetris game, developed as part of my academic coursework. The game features standard Tetris gameplay with a graphical user interface and basic game mechanics.

Features

  • Classic Tetris Gameplay: Rotate and move tetrominoes to complete lines and score points.
  • Graphical User Interface: The game is rendered using Java Swing for a simple but functional UI.
  • Score Tracking: Tracks the player's score based on completed lines.
  • Difficulty Levels: Increase the challenge as the game progresses with faster tetromino drops.

Technologies Used

  • Java: Core language used for development.
  • Swing: Java library used for the graphical user interface.

Installation and Running the Game

  1. Clone the Repository:

    git clone https://github.com/eliottcoint/Tetris_project_LP2A.git
  2. Navigate to the Project Directory:

    cd Tetris_project_LP2A
  3. Compile and Run the Game:

    javac Tetris.java
    java Tetris

Gameplay Instructions

Controls:

  • Left Arrow: Move tetromino left.
  • Right Arrow: Move tetromino right.
  • Up Arrow: Rotate tetromino.
  • Down Arrow: Accelerate tetromino drop.

Objective:

  • Complete horizontal lines to score points. The game ends when the tetrominoes reach the top of the screen.

Contributing

If you'd like to contribute to this project, feel free to fork the repository and submit a pull request with your changes.

License

This project is open-source and available under the MIT License.

Contact

For any questions or feedback, feel free to reach out via my GitHub profile.

About

School Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages