Skip to content

1.Developed a fully functional and interactive game using Pygame. 2. The Pygame library is used to create the game window, handle events, and draw objects on the screen.

Notifications You must be signed in to change notification settings

Mohammed-Saleh-Ishaq/Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Snake Game

Introduction

Welcome to the Snake Game! This project is a simple implementation of the classic Snake game using Python and the Pygame library. The game offers a nostalgic experience where players control a snake to eat food and grow longer while avoiding collisions with walls and the snake's own body.

Features

Classic Snake Gameplay: Navigate the snake around the screen, eating food to grow longer. Score Tracking: Keep track of your score as you eat more food. Game Over Detection: Avoid collisions with walls and the snake's own body to survive. Welcome Screen: A welcoming interface prompts players to start the game with a press of the space bar. High Score Tracking: Compete with yourself to achieve the highest score possible.

Run Locally

Clone the project

  git clone https://link-to-project

Go to the project directory

  cd my-project

Install dependencies

  install python
  pip install pygame

Run the Game: Navigate to the project directory and execute the Python script:

  cd snake-game
  python snake_game.py

About

1.Developed a fully functional and interactive game using Pygame. 2. The Pygame library is used to create the game window, handle events, and draw objects on the screen.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages