Skip to content

harikrishnan-git/pygame-tinkerhub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages