/Tetris

Classic Tetris , YES !!! have fun

Primary LanguagePythonApache License 2.0Apache-2.0

๐ŸŽฎ Tetris Game


โš ๏ธ No Issues with This Game!

  • If you want to FORK it, GO FORK IT! ๐Ÿด
  • Make sure you have an account to FORK the repo ๐Ÿ”.
  • This script is protected by PyArmor, so it will run the same and keep all the settings intact ๐Ÿ”’.

๐Ÿ“ฅ How to Download the Repo (First-Time Users)

Click the link to read Instructions ๐Ÿ“„.


๐Ÿ› ๏ธ Installing Dependencies

Use the requirements.bat file to install the necessary dependencies before running the game โš™๏ธ.


๐Ÿ Python Versions

If you donโ€™t have Python installed, here are some options:


๐Ÿš€ How to Run the Game

  1. Unzip the Folder: Make sure the folder is unzipped and placed in an easily accessible location (like your desktop) ๐Ÿ—‚๏ธ.

  2. Open Command Prompt: Press Win + R, type cmd, and press Enter ๐Ÿ’ป.

  3. Navigate to the Game Folder:

    • Type cd (donโ€™t forget the space), then drag and drop the unzipped folder into the command prompt window and press Enter.
  4. Run the Game: In the same command prompt window, type the following command and press Enter:

    python tetris.py
    

๐ŸŽฎ How to Play

  • Use the arrow keys to move the blocks โฌ…๏ธโžก๏ธ.
  • Press the up arrow key to rotate the blocks ๐Ÿ”„.
  • Try to stack blocks and clear lines to score points! ๐Ÿ†

๐Ÿ”ง Troubleshooting (Score Issues)

If you have previously downloaded the game and are experiencing issues with the score not tracking:

  • Option 1: Open tetris.py in Python and adjust the width and height settings to 300, 550.
  • Option 2: You can also just download the file again, and everything should work fine ๐Ÿ‘.

Enjoy playing Tetris and challenge yourself to clear as many lines as you can! ๐ŸŽ‰