Skip to content

Commit

Permalink
Merge pull request #8 from johan-BG/patch-1
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 79dccd0 + f8d4592 commit a46e055
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ 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. Explaining the working of project
2. Embed video of project demo
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.
3. Embed video of project demo
## Libraries used
pygame - 2.3.0
sys -
Expand All @@ -21,7 +22,7 @@ sys -
3. Run the main.py file
## How to Run
### Controls
Up-Arrow : Rotate <br>
Left-Arrow : Move block left <br>
Right-Arrow : Move block right <br>
Down-Arrow: Make block fall faster <br>
Up-Arrow : Rotate
Left-Arrow : Move block left
Right-Arrow : Move block right
Down-Arrow: Make block fall faster

0 comments on commit a46e055

Please sign in to comment.