Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.11 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.11 KB

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.