Skip to content

djoezeke/tetrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetrix Game

This Tetris game is developed using Python and The Pygame Library, offering a classic gaming experience with modern coding practices. The game features the traditional Tetris gameplay, including 7 different tetrominoes, with additional features such as pause, score tracking, line clearing, level progression, collision detection, and background music to enhance the playing experience.

Screenshots

Screenshot

🚀 Features

  • 7 Tetrominoes (Minos): Includes all classic Tetris blocks.
  • Game Controls: Easy-to-use keyboard controls for moving, rotating, and dropping tetrominoes.
  • Line Clearing: Complete lines to clear them from the board and earn points.
  • Levels: The game speed increases as you progress, offering a challenging experience.
  • Score System: Earn points by clearing lines and advancing through levels.
  • Pause/Resume: Players can pause the game at any moment and resume where they left off.
  • Collision Detection: Ensures a realistic gameplay experience.
  • Music and Sound Effects: Enhances gameplay with engaging audio.

🎮 Gameplay

The objective is to place the tetrominoes to create complete lines, which will then be cleared from the board. The game ends when the Tetris playfield is filled.

🕹️ Controls

  • A / Left Arrow : Move block Left
  • D / Right Arrow : Move block Right
  • S / Down Arrow : Move block Down
  • W / Up Arrow : Rotate the block
  • Space : Pause/Resume Game

🛠️ Installation

  1. Clone the repository:
git clone https://github.com/djoezeke/tetrix.git
  1. Navigate to the cloned directory:
   cd tetrix
  1. Run the game:
python -m tetrix

📝 License

This project is licensed under the MIT License.

🤝 Contributing

Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.

📞 Contact

For any questions or inquiries, feel free to open an issue.

About

A clone of the famous Tetris game with Python and PyGame Library.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages