pygame library.
A full featured game of falling shapes using python'sKey Features • How To Play • Download • Contributing • License
Key Features
Single Player Mode
Play a game against yourself where the goal is to accumalate as many points as you can! As you complete more lines the pieces will start to fall faster. Try and complete multiple lines at once for a higher score.
Multiplayer Mode (Online)
Play a game against a friend online where the first one to fill up their well looses!
Game Mechanics
- Rotate Right - Rotate piece clockwise
- Rotate Left - Rotate piece counter-clockwise
- Soft Drop - Speed up a piece's downward motion
- Hard Drop - Drop a piece on the stack with no delay
- Lock Delay - The grace period before a piece locks on the stack
- Wall Kick - Push a piece off the wall in a rotation if space does not allow
- Next Piece- Show a user the next piece to enter the well
How to Play
Controls
-
⬆️ Rotate -
⬅️ Move Left -
➡️ Move Right -
⬇️ Soft Drop - [Space] Hard Drop
Multiplayer
After selecting 2 PLAYER
at the title screen you will be prompted to enter a Game ID. This ID can be any 6 characters that both players agree on. Once both players have entered their Game ID the game will start.
Download
You can download the latest build for your system by going here.
If you would like to run the game by cloning this repository, you'll need Git and Python 3 installed on your system. From your command line:
# clone this repository
$ git clone https://github.com/gio101046/tetri5.git
# move into project directory
$ cd tetri5
# install python dependencies using pip
$ pip install -r requirements.txt
# run the game
$ python main.py
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.