Skip to content

tingwei628/pytg

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

pytg

terminal based game in python

build codecov

Get Started

python src/main.py

NOTE: On Windows, please install windows-curses before the execution

pip install windows-curses

Feature

  • Snake
  • Tetris

Demo

Test

pytest

issues

_curses.error: init_color() returned ERR
export TERM=xterm-256color

Acknowledgements

python-curses-tut@nikhilkumarsingh
Tetris tutorial@javilop