Skip to content

tracy-xu0123/Tetris---Python-Pygame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงฉ Tetris Reimagined โ€“ COMP9001 Final Project

๐Ÿ“˜ Project Overview

This project is a modern version of the classic Tetris game, developed using Python and Pygame.
Players can move, rotate, and drop blocks to complete lines and score points.
The game includes:

  • Level progression with increasing speed
  • Pause and restart functions
  • โ€œNext blockโ€ preview
  • Score saving with JSON
  • Keyboard controls and smooth GUI

๐ŸŽฎ Controls

Key Action
โ† / โ†’ Move
โ†‘ Rotate
โ†“ Drop faster
P Pause
R Restart
ESC Quit

๐Ÿ’ก Technologies Used

  • Python 3.10+
  • Pygame
  • JSON file I/O

๐Ÿš€ How to Run

  1. Clone this repository:
    git clone https://github.com/tracy-xu0123/Tetris---Python-Pygame.git
  2. Install dependencies: pip install pygame
  3. Run the game: python main.py

lang Xu (540194324) COMP9001 โ€“ University of Sydney

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages