Skip to content

tbalbini/Tetris-Game-by-Mak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Tetris Game

A simple and fun implementation of the classic Tetris game using Python and Pygame.

Created by tbigmac for recreational purposes.

Game Features

  • Classic Tetris gameplay mechanics
  • Score tracking with high score persistence
  • Level progression system
  • Piece hold functionality
  • Next piece preview
  • Clean and minimalist UI

Repository Structure

Tetrisv2/
├── game.py         # Main game implementation
├── highscore.json  # Persistent storage for high scores
└── README.md       # This file

Requirements

  • Python 3.x
  • Pygame library

Installation

  1. Make sure you have Python 3.x installed on your system
  2. Install Pygame using pip:
    pip install pygame

How to Run

Navigate to the game directory and run:

python3 game.py

Controls

  • ← → : Move piece left/right
  • ↑ : Rotate piece
  • ↓ : Soft drop
  • Space : Hard drop
  • C : Hold piece
  • P : Pause game
  • R : Restart game

License

This project is created for recreational purposes only. Feel free to use and modify as you wish.

Credits

Created by tbigmac

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages