Skip to content

yanagirdhar/Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐍 Classic Snake Game

A modern implementation of the classic Snake game using Python's Turtle graphics. Control a snake, eat food, grow longer, and try to beat your high score!

How to Play

Objective

Control the snake to eat the blue food. Each piece of food makes the snake grow longer and increases your score by 1. The game ends if you hit the wall or your own tail.

Controls

  • ↑ (Up Arrow): Move snake up
  • ↓ (Down Arrow): Move snake down
  • ← (Left Arrow): Move snake left
  • β†’ (Right Arrow): Move snake right

Scoring

  • Current Score: Displayed at the top of the screen
  • High Score: Saved permanently, shown next to current score
  • Beat your high score to set a new record!

How to Run

Prerequisites

  • Python 3.x installed on your system
  • No additional packages required (uses built-in Turtle graphics)

Installation

  1. Clone the repository
git clone https://github.com/yanagirdhar/Snake-Game.git
cd snake-game

2. Run the program

python3 main.py

About

🐍🐍🐍

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages