Skip to content

nikelborm/python_snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python snake

For all the AMOLED enjoyers out there:

Game active Game over
Screenshot when the game is active Screenshot when the game is over

Prepare:

python -m venv .venv
. .venv/bin/activate
pip install -r ./requirements.txt

Run:

. .venv/bin/activate
python main.py

TODO

  1. fix white pixel trails left by text leftovers:
GAME_GRID_X_SIZE_IN_GAME_CELLS = 64
GAME_GRID_Y_SIZE_IN_GAME_CELLS = 64

CELL_SIZE_IN_PIXELS = 20
  1. Refactor I guess
  2. Add CLI renderer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages