Skip to content

mehrdad-mixtape/TetrisPy

Repository files navigation

TetrisPy

  • Funny Old School Tetris With Python, Let's Play!

Interview:

image

Platforms:

  • Linux
  • Windows (So slow on powershell or cmd)
  • Mac (I didn't test)

Python version:

  • 3.6 or higher

How to Play?

  1. Create and Active the venv like: Tetris-env.
  2. If you have problem for install pyaudio or wave on linux:
    • Install Important dev-libs for portaudio.
      • Debian:
      (venv) $ sudo apt-get install portaudio19-dev
      (venv) $ pip3 install -r requirements.txt
  3. Enjoy!
    • Run:
    (venv) $ python3 tetris.py

Game:

image

Audios & Sound Effects:

  • Audios & Sound effects are *.wav files and have large size.
  1. You can download the all audios & sound effect from this link
  2. Create a directory on project path with name: audios
  3. Extract audios.rar to audios.

Issus:

I fixed many Critical Bugs, But maybe ... :)

  • I made the first version in 5 days on my free time! Just for Fun.

TODO:

  • clean code
  • sound effects aren't complete
  • tui is not complete
  • delay can't change automatically
  • levels aren't implemented
  • comments aren't complete
  • shape generator is so dumb
  • better music player
  • ...

About

Funny Old School Tetris, Let's Play!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages