Skip to content

Commit

Permalink
Merge pull request #9 from kur0n0k0/patch-5
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
harikrishnan-git authored Apr 1, 2023
2 parents a46e055 + dd421ee commit a4c55a3
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,18 @@ An attempt at recreating the popular game Tetris using pygame.
2. Harikrishnan B. [https://github.com/harikrishnan-git]
3. Johan B.George [https://github.com/johan-BG]
## How it Works ?
1. It has 4 classes Block,App,Tetris and Tetromino where app class contolls rest of classes.
2. Block contorls appearance of blocks,Teromino controls each set of blocks and tetris controls all tetrominos in plane field.
1. It has 4 classes Block, App ,Tetris and Tetromino where app class contolls rest of classes. <br>
2. Block controls appearance of blocks,Teromino controls each set of blocks and Tetris controls all tetrominos in plane field. <br>
3. Embed video of project demo
## Libraries used
pygame - 2.3.0
sys -
## How to configure
1. Install Python 3.10.6
2. Install necessary libraries using pip
3. Run the main.py file
## How to Run
### Controls
Up-Arrow : Rotate
Left-Arrow : Move block left
Right-Arrow : Move block right
Down-Arrow: Make block fall faster
Up-Arrow : Rotate <br>
Left-Arrow : Move block left <br>
Right-Arrow : Move block right <br>
Down-Arrow: Make block fall faster <br>

0 comments on commit a4c55a3

Please sign in to comment.