Skip to content

imacfan/test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Snake Game

A simple Snake game created with Pygame.

Description

This is a classic Snake game where you control a red snake to eat blue food and grow longer. The game ends if the snake hits the boundaries or itself.

Requirements

  • Python 3.x
  • Pygame

Installation

  1. Clone this repository
  2. Install pygame if you don't have it already:
    pip install pygame
    

How to Run

python snake_game.py

Controls

  • Arrow Keys: Change direction
  • Q: Quit when game is over
  • C: Play again when game is over

About

Test repository created via Claude

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages