You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
773 B
Markdown
36 lines
773 B
Markdown
# Python Tetris
|
|
|
|
This is the repository with non-finished implementation of the tetris. Please, be patient because I am writing it in my free time :-).
|
|
|
|
### Prerequisites
|
|
|
|
The game is based on the pygame library. You can install it using the pip tool.
|
|
|
|
```
|
|
pip3 install --user pygame
|
|
```
|
|
|
|
Provided code is written for Python3. After that, you can run the game with:
|
|
|
|
```
|
|
python3 tetris.py
|
|
```
|
|
|
|
|
|
## Control
|
|
|
|
The following list contains used control keys:
|
|
|
|
* *Arrows* - used for the moving of a tetris block
|
|
* *Space* - rotates the tetris block
|
|
* *q* - quit the game
|
|
* *p* - pause the game
|
|
|
|
## Authors
|
|
|
|
* **Pavel Benáček** - *coding of the game*
|
|
|
|
## License
|
|
|
|
This project is licensed under the GNU GPL License - see the [LICENSE.md](LICENSE.md) file for details
|