Skip to content

Conversation

ShristiC7
Copy link
Contributor

🐍 Add Snake Game in Python

Description

This pull request adds a classic Snake Game built using Python and the pygame library.
The game allows players to control a snake, eat food, and grow while avoiding collisions with walls or itself.
It is beginner-friendly and serves as a fun interactive project for learning Python game development.


Features Added

  • Snake movement in four directions: Up, Down, Left, Right
  • Randomly spawning food that increases the snake’s length
  • Score tracking displayed on the screen
  • Game over detection when the snake collides with walls or itself
  • Beginner-friendly, well-commented Python code
  • Optional enhancements like color variations and increasing speed

Solves #235

@ShristiC7
Copy link
Contributor Author

Screen.Recording.2025-10-17.030515.mp4
Screenshot 2025-10-17 030430 Screenshot 2025-10-17 030344

Here are the required screenshots and recording of the game
@RK1905101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant