This is a basic implementation of Tetris using Python and Pygame.
-
Install Python: Ensure Python 3.x is installed on your system.
-
Install Pygame: Install the Pygame library using pip:
pip install pygame
-
** Cloning the Repository**: Clone this repository to your local machine
-
** Running the Game**: Navigate to the directory and execute the Python script python SimpleTetris.py
Use the arrow keys to move the falling pieces. Press the Up arrow to rotate pieces. Aim to complete horizontal rows to clear them and score points. The game ends if the pieces stack up to the top of the screen.
Contributions are welcome! If you want to contribute to this project, please follow these guidelines: ###Dos Fork the repository and clone it locally. Create a new branch for your feature or bug fix. Make your changes, test thoroughly, and ensure the code runs without errors. Commit your changes with a clear and descriptive commit message. Push your branch to your fork on GitHub and submit a pull request. ###Don'ts Avoid directly pushing to the main branch. Do not add any large binary files to the repository. Refrain from changing existing code without discussing it first in an issue.