Skip to content

A classic Snake Game built using Python and Pygame. Eat apples, grow longer, and avoid colliding with yourself. Have fun!

Notifications You must be signed in to change notification settings

avidzcheetah/python-snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Snake Game 🐍

A classic Snake Game built using Python and Pygame. Eat apples, grow longer, and avoid colliding with yourself. Have fun!


Features

  • Smooth Gameplay: Navigate the snake to eat apples and grow.
  • Scoring System: Displays your final score when the game ends.
  • Game Over Screen: Shows "Game Over," your score, and a thank-you message.

How to Play

  1. Run the game: python snake_game.py
  2. Controls:
    • Arrow Keys (, , , ) to move the snake.
  3. Objective:
    • Eat apples to grow longer.
    • Avoid colliding with yourself or the screen boundaries.

Requirements

  • Python 3.x: Install the latest version of Python.
  • Pygame: Install via pip: pip install pygame

Setup

  1. Clone the repository or download the files.
  2. Ensure you have the required images:
    • snake.png (for the snake)
    • apple.png (for the apple)
  3. Place these images in the same directory as the game script.

Credits

Developed by Avidz. Thank you for playing! 🎮


License

This project is free to use and modify. Attribution is appreciated but not required.


About

A classic Snake Game built using Python and Pygame. Eat apples, grow longer, and avoid colliding with yourself. Have fun!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages