Skip to content

Latest commit

 

History

History

tetris_THUNLPDemo_2024

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Modern Tetris Game

A feature-rich Tetris implementation in Python using Pygame.

Features

  • Modern GUI with smooth animations
  • Score system and levels
  • Ghost piece preview
  • Next piece preview
  • Hold piece functionality
  • Particle effects for line clears
  • Background music and sound effects
  • High score system

Controls

  • Left/Right Arrow: Move piece
  • Up Arrow: Rotate piece clockwise
  • Z: Rotate piece counter-clockwise
  • Down Arrow: Soft drop
  • Space: Hard drop
  • C: Hold piece
  • P: Pause game
  • ESC: Quit game

Installation

  1. Install Python 3.8+
  2. Install dependencies:
pip install -r requirements.txt
  1. Run the game:
python tetris.py