Skip to content

Spooky looking Tetris game built with Python, OOP and pygame library.

Notifications You must be signed in to change notification settings

shirleyfyx/Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris ➡️

This is a Tetris game developed using Python's Pygame library. The objective of the game is to clear as many lines as possible by arranging tetrominoes (shapes made of four blocks) in horizontal lines without gaps.

An animation of flying blocks will be played when lines are cleared!

Installation

To play the game, make sure you have Python 3 installed on your computer. You can download Python from the official website: https://www.python.org/downloads

You will also need to install Pygame, which can be done by running the following command in your terminal:

"pip install pygame"

How to Play

Use the left and right arrow keys to move the tetromino sideways.

Use the up arrow key to rotate the tetromino.

Use the down arrow key to make the tetromino fall faster.

Plan your next move with the "next" tetronimo on the right.

The game will restart when the tetromino stack reaches the top of the screen.

Tetris Project

Flying Tetrominoes

About

Spooky looking Tetris game built with Python, OOP and pygame library.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages