Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.01 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.01 KB

Pygame GIthub

Tetris

An attempt at recreating the popular game Tetris using pygame.

Team members

  1. Gokul Bejoy [https://github.com/kur0n0k0]
  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 controls appearance of blocks,Teromino controls each set of blocks and Tetris controls all tetrominos in plane field.

Video Demo

tetris.video.mp4

Libraries used

pygame - 2.3.0

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