Skip to content

beccapana/tetris_py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Tetris Game

This is a simple text-based Tetris game implemented in Python. The game runs in the console/terminal and allows players to control Tetriminos (Tetris pieces) as they fall down the game board. The objective is to clear as many lines as possible by filling them with blocks.

Features

  • Basic Tetris gameplay mechanics
  • Controls: Left (A), Right (D), Down (S), Rotate (R), Quit (Q)
  • Scoring system: Earn points for clearing lines

Requirements

  • Python 3.x
  • keyboard module (install via pip install keyboard)

How to Play

  1. Clone or download the repository to your local machine.
  2. Ensure you have Python installed on your system.
  3. Install the keyboard module by running pip install keyboard.
  4. Navigate to the directory containing the game files.
  5. Run the tetris.py file using Python: python tetris.py.
  6. Use the following keys to control the game:
    • A: Move piece left
    • D: Move piece right
    • S: Move piece down (faster)
    • R: Rotate piece
    • Q: Quit the game
  7. Try to clear as many lines as possible to earn points and achieve a high score!

Credits

This game was created by [Magmus-maker].

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages