Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Snake Game 🐍

A classic Snake Game built using Python. Control the snake, collect food, and try to achieve the highest score without colliding with the walls or yourself.

Features

  • Interactive gameplay.
  • Score tracking.
  • Simple and user-friendly interface.

Installation

  1. Clone this repository:
    git clone <your-repository-url>
  2. Navigate the project folder
    cd snake-game
  3. Run the game
    python snake_game.py
    

How to Play

  1. Use Arrow Keys to control the direction of the snake:
    1. Up: Move up.
    2. Down: Move down.
    3. Left: Move left.
    4. Right: Move right.
  2. Collect food to increase your score.
  3. Avoid colliding with:
    1. Walls
    2. The snake’s body.
  4. Goal: Achieve the highest score possible!

Technologies Used

Python