Skip to content

Snake game used in the PyCon SK 2018 programming contest

License

Notifications You must be signed in to change notification settings

pyconsk/snakepit-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snakepit for PyCon SK

Online multiplayer snake game written in Python and asyncio.

Installation

git clone https://github.com/pyconsk/snakepit-game
cd snakepit-game
python3.6 -m venv env
source env/bin/activate
pip install -r doc/requirements.txt
export PYTHONPATH=$(pwd -P)
bin/run.py

NOTE: The game is by default available under the URL: http://0.0.0.0:8111/index.html (requesting /index.html is necessary).

PyCon SK 2018 Programming Contest

Refactored code and added support for robot snakes:

bin/run_robot.py --help

The robot snake documentation is available here: https://github.com/pyconsk/snakepit-game/blob/master/doc/snake.md

Winning Robot Snakes

Original Snakepit

The game and tutorial was originally written by Kyrylo Subbotin @ 7WebPages.

Original game source code: https://github.com/7WebPages/snakepit-game

Demo of the original game: http://snakepit-game.com

Tutorial

About

Snake game used in the PyCon SK 2018 programming contest

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •