Skip to content

taniokay/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris

Build Status codecov MIT License

This is a tetris game just for learning Python.

Running

Dependencies

Running this tetris game requires:

  • A Python interpreter (version 3.5 or later)

  • numpy (version 1.19.2 or later)

  • PyQt5

If you have an appropriate Python interpreter, you can install these requirements by running the following at the root directory:

$ pip install -r requirements.txt 

To run tetris, type the following command:

$ python src/main.py

How to play

You can play using your keyboard:

key motion
move right
move left
soft drop
↑, SPACE hard drop
SHIFT hold
z spin left
x spin right
p pause
r restart
ESC quit game

Functions

This tetris supports the following features:

  • Hold
  • Next (you can see 5 next minos)
  • Bag randomizer
  • Super rotation system
  • T-spin
  • display scores

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages