Skip to content

moby7972/moby_snakeo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 MOBY’S SNAKEO

A classic Snake game built in Python using the turtle graphics module.
Features smooth movement, collision detection, and a persistent high-score system.

Gameplay

  • Use arrow keys to control the snake
  • Eat food to grow longer
  • Avoid walls and your own body
  • Game restarts automatically after a collision

Features

  • Object-oriented design (Snake, Food, Scoreboard)
  • Smooth animation with screen.tracer(0)
  • Random food spawning
  • Color-changing snake segments
  • High score saved between runs

Run the Game

  1. Clone the repository: git clone https://github.com/moby7972/moby_snakeo.git
  2. Run the game: python main.py

Requires Python 3.8+ (standard library only).

About

A classic snake game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages