Skip to content

A snake game written in Python using the Pygame library.

Notifications You must be signed in to change notification settings

Plasmapause/snake-eater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Snake Eater

A snake game written in Python using the Pygame library.

Installing

Download python from the official website and install it, if not installed previously.

Run the following in the terminal to install the Pygame package.

pip install pygame

Running the application

Download the source code from the repository and run the file just as any other Python script (.py) file.

python start.py

The difficulty variable can be changed with the values provided in the comment to set the difficulty level.

The rest of the code is properly commented and self explanatory. Tweaks can be made to change the play style or visuals of the game.

Screenshots

Written in Visual Studio Code 1

Gameplay Preview 2

Game Over Preview 3

Prerequisites