Skip to content

bonnysi76/python-snake-game-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Snake Eater

A simple Snake game written in Python using the Pygame library.

Installation

  1. Install Python 3:
    If you don't have Python 3 installed, download the installer package from the official Python website and follow the installation instructions.

  2. Install Pygame:
    Once Python 3 is installed, open your terminal and run the following command to install the Pygame library:

    pip3 install pygame

Running the Application

  1. Download the Source Code:
    Download the source code from the repository.

  2. Run the Game:
    Navigate to the directory containing the source code, and run the game script using the following command:

    python3 Snake\ Game.py
  3. Adjust Difficulty:
    The game’s difficulty can be adjusted by changing the difficulty variable. The available difficulty levels are commented in the code for easy reference.

Customization

The code is well-commented and self-explanatory. Feel free to tweak the game to change the play style, game mechanics, or visual appearance.

Screenshots

image

image image

Prerequisites

  • Python
  • Pygame, an open source Python library for making multimedia applications

Authors

  • Bonny Sithole - Initial work

See also the list of contributors who participated in this project.

Acknowledgements

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages