Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Simple Tetris Game in Python

This is a basic implementation of Tetris using Python and Pygame.

Setup Instructions

  1. Install Python: Ensure Python 3.x is installed on your system.

  2. Install Pygame: Install the Pygame library using pip:

    pip install pygame
    
  3. ** Cloning the Repository**: Clone this repository to your local machine

  4. ** Running the Game**: Navigate to the directory and execute the Python script python SimpleTetris.py

Game mechanics and How to Play

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.

Contributing to the code

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.

Most importantly HAVE FUN!!

About

This code showcases a dynamic Tetris game implemented in Python using the Pygame library.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages