Skip to content

ctlai95/python-tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

This project has been replaced by i-love-tetris.

Python Tetris

A Tetris clone written entirely in python.

Dependencies

Python Tetris requires python3 and pyglet to be installed in order to run.

Usage

Before starting Python Tetris, ensure that a configuration file exists at src/config.py. If it doesn't, you can copy the example configuration file at src/config.py.example.

To start Python Tetris, run the python-tetris.py script located in the src directory.

src/python-tetris.py

Running Tests

Unit tests can be run using pytest.

To run all tests recursively, run pytest at the project's root directory.

To run single test file, run pytest followed by the path to the file. For example,

pytest src/tetromino/tetromino_test.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages