Skip to content

renauga/Petris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Petris

Requirements

  • Python
  • Git

Steps to run

1. Clone the repo

$ git clone https://github.com/renauga/Petris.git
$ cd Petris

2. Install dependencies

$ pip install pygame
$ pip install pygame_textinput

3. Run python file

$ python .\Petris.py

Controls

Splash Screen

Just type your username and press Enter or Return to start the game

Game Screen

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages