Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 621 Bytes

File metadata and controls

23 lines (15 loc) · 621 Bytes

Python-Tetris-Game

A simple implementation of the classic Tetris game in Python using pygame.

How to Play

  • Use the arrow keys to move the falling blocks.
  • Press Up arrow key to rotate the blocks.
  • Press Spacebar to instantly drop the block to the bottom.
  • The game ends when blocks stack up to the top.

Getting Started

  1. Install Python (3.6 or later) from python.org.
  2. Install pygame using pip: pip install pygame
  3. Run the game: python tetris.py

Customize

Feel free to modify colors, mechanics, or add new features to the game.