- Python
- Git
$ git clone https://github.com/renauga/Petris.git
$ cd Petris
$ pip install pygame
$ pip install pygame_textinput
$ python .\Petris.py
Just type your username and press Enter or Return to start the game
- Backspace - Reset the game board (without saving score)
- Esc - Go back to Splash Screen
- P - Pause
- Arrow keys - Move the block around. (Can be moved to the left, right or increase falling speed)
- Up Arrow key - Rotates the block 90 degrees anti-clockwise
- Enter - If the game is over, pressing the Enter key will save your score and start a new game