Skip to content

A very simple python snake in 98 lines of code (without blank lines)

Notifications You must be signed in to change notification settings

bosmak-alt/python-snake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-snake

A Snake clone written in python in only 100 lines of code. Check out the additional features branch for more features like Pause and New Game.

Screenshot

Usage

git clone https://github.com/jeremija/python-snake
cd python-snake
python3 -m snake.main

Tested on Arch Linux, Mac OS Sierra and Windows 10.

Requirements

Python3 and tk-tcl.

Windows

Download and install Python 3.

Mac OS

Read the requirements. If you are using homebrew, you can just run:

brew install tcl-tk
brew install python3 --with-tcl-tk

Without homebrew, download and install:

Arch Linux

sudo pacman -S tk python3

Ubuntu / Debian

sudo apt-get install python3 python3-tk

License

MIT

About

A very simple python snake in 98 lines of code (without blank lines)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 75.2%
  • Python 24.4%
  • Makefile 0.4%