Skip to content

gurnxxr/localRepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Snake Game

This is a simple Snake game implemented in Python using the Pygame library.

How to Run

  1. Install Python (if not already installed):

  2. Install Pygame: Open a terminal or command prompt and run:

    pip install pygame
  3. Run the Game: In the project directory, run:

    python main.py

Controls

  • Arrow keys: Move the snake (Up, Down, Left, Right)
  • R: Restart the game after game over

Objective

Eat the red food to grow the snake and increase your score. Avoid running into the walls or yourself!

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published