piotr-rzepa/snake-game-python

Simple snake game written in Python with options menu to customize the game.

★ 1Forks 0PythonGitHub ↗Compare

README

snake-game-python

Simple snake game written in Python with options menu to customize the game.

ERR IMG NOT FOUND

Table of contents

General info

Game is written in OOP concept in mind, with Grid, Snake and Menu being represented as classes, containing methods which influence their behaviour. Composed together, they're main fundamentals of the game.

Technologies

Project is created with:
Python Release Python 3.4.0+
Pygame module website
Python Imaging Library PIL website
Abstract Base Classes module [link] (https://docs.python.org/3/library/abc.html)

Images

Small menu with various customization options
The game opens after settings options (or leaveing them empty) and clicking x in right top corner.
ERR IMG NOT FOUND

Without any options -> "raw" gameplay                                                  With Grid setting on
ERR IMG NOT FOUND ERR IMG NOT FOUND

With speed up bonus - each blue square increase pace of the game         With static obstacles and range set to 10
ERR IMG NOT FOUND ERR IMG NOT FOUND

With dynamic obstacles enabled - enemy snake grows as you eat more apples!
ERR IMG NOT FOUND

Setup

To run this project, navigate to the directory where you want to put your repository (Change the test-repo to the location where you want the cloned directory) and use:

cd test-repo
gh repo clone piotr-rzepa/snake-game-python

After that, you are able to open project in your favourite IDE (ensuring that you have python interpreter installed on your machine) and run init.py to open settings menu and then the game itself. 👍.

Contributors

piotr-rzepa

Issues