pbabics / robot-snake-pycon2018

My robot snake implementation for PyConSK 2018 contest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Harakiri Snake

This is repository for my robot snake (HarakiriSnake) implementation, which I used in a PyConSK 2018 contest.

Snake is simple implementation of A*, with additional conditions for safe path search and of course Harakiri if there is no escape.

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 Programming Contest

Refactored code and added support for robot snakes:

bin/run_robot.py --help

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

My robot snake implementation for PyConSK 2018 contest

License:MIT License


Languages

Language:Python 74.8%Language:HTML 20.3%Language:CSS 4.9%