Skip to content

anupam-sec/Snake_Game_using_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ Snake Game using Python

A classic, interactive Snake Game built with Python and the pygame library. This project demonstrates basic game logic, collision detection, and GUI development.

Snake Game Demo
Gameplay Demo: The snake growing as it eats food while avoiding the walls.

๐ŸŽฎ Features

  • Real-time Movement: Smooth controls using the arrow keys.
  • Score Tracking: Keeps track of your current score as you eat.
  • Game Over Logic: Detects collisions with walls or the snake's own body.
  • Dynamic Growth: The snake increases in length every time it consumes food.

๐Ÿ› ๏ธ Built With

Python

  • pygame: For the graphical user interface.
  • Random: For generating food at random coordinates.

๐Ÿš€ How to Run

To run this game on your local machine, follow these steps:

  1. Clone the repository: https://github.com/anupam-sec/Snake_Game_using_Python/

  2. Run the script: Software Development Project ( Snake Game ).py

About

This is a basic Snake Game implementation with python using pygame.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages