Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ Snake Game โ€” Python Turtle

A simple yet fun Snake Game implemented using Python's Turtle graphics module.
Developed by Himabindu Donikena.


๐ŸŽฎ Game Features

  • Smooth snake movement
  • Snake grows after eating food
  • Random food spawning
  • Score and high-score tracking
  • Collision detection (walls + self-body)
  • Game restarts automatically after collision
  • WASD-based controls

๐ŸŽฏ Controls

Key Action
W Move Up
A Move Left
S Move Down
D Move Right

๐Ÿง  Technologies Used

  • Python
  • Turtle Graphics
  • Random module
  • Time module

โ–ถ๏ธ How to Run the Game

  1. Install Python 3
  2. Download or clone this repository
  3. Run the script:

๐Ÿ“ธ Screenshot


๐ŸŒŸ Why This Project?

This project demonstrates:

  • Game loop design
  • Event-driven programming
  • Collision detection logic
  • Real-time animation
  • User input handling
  • Use of Python modules (turtle, time, random)
  • Managing dynamic objects (snake segments)

It is a great beginner-friendly game to show Python skills, logic building, and understanding of graphics programming.


๐Ÿ“Œ Author

Himabindu Donikena
B.Tech CSE
GitHub: https://github.com/Himabindu1381


๐Ÿ’ฌ Suggestions / Improvements

Future enhancements could include:

  • Difficulty levels
  • Background music
  • Game UI improvements
  • Saving high score permanently
  • Adding walls or obstacles
  • Speed increase per level

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages