Skip to content

implementation of the classic game tetris using pygame

License

Notifications You must be signed in to change notification settings

adkvi/tetris-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris Game

This is a simple Tetris game built using Python and Pygame. It features classic Tetris gameplay, including moving, rotating, and dropping Tetriminos to clear lines and score points.

Features

  • Classic Tetris Gameplay: Arrange Tetriminos to clear lines and score points.
  • Pause and Resume: Easily pause the game and resume where you left off.
  • High Score Tracking: Keeps track of the highest score achieved across sessions.
  • Adjustable Speed: The game increases in speed as you clear more lines.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You'll need Python installed on your system. If you don't have Python installed, you can download it from python.org.

Once Python is installed, you can install Pygame using pip:

pip install pygame

Installing

Clone the repository to your local machine:

git clone https://github.com/adambillekvist/tetris-game.git

Navigate to the cloned directory:

cd tetris-game

Run the game using Python:

python main.py

Controls

  • Arrow Left/Right: Move the Tetrimino left or right.
  • Arrow Up: Rotate the Tetrimino clockwise.
  • Arrow Down: Speed up the Tetrimino fall.
  • P: Pause the game.
  • Q: Quit the game from the main menu.

Authors

License

This project is licensed under the MIT License

About

implementation of the classic game tetris using pygame

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages