Skip to content

Explore the Snake Game repository! Immerse yourself in the classic arcade experience of controlling a snake, built with Pygame. Embrace the challenge of setting highscores. ๐Ÿ๐ŸŽฎ

Notifications You must be signed in to change notification settings

haroonmaqbool/Snake-Game-Pygame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Snake Game

Description

This is a classic Snake Game built using Python and the Pygame library. The game provides two modes: Free Mode and Target Mode. In Free Mode, players can control the snake freely without any time limit. In Target Mode, players have a limited amount of time to collect as much food as possible before the time runs out.

Features

  • Two game modes: Free Mode and Target Mode
  • Simple and intuitive controls
  • Adjustable snake speed
  • Score tracking
  • Game over screen with options to quit or return to the main menu

Gameplay Instructions

  • Free Mode: Control the snake using the arrow keys. Eat food to grow longer. Avoid hitting the walls or colliding with yourself.
  • Target Mode: Similar to Free Mode, but with a time limit. Collect as much food as possible before the time runs out.

How to Run

  1. Ensure you have Python installed on your system.
  2. Install the Pygame library using pip install pygame.
  3. Clone this repository to your local machine using git clone https://github.com/haroonmaqbool/Movie-Management-System.git.
  4. Run the Snake Game (Haroon Maqbool).py

Screenshots

Main Menu

image

Free Mode Gameplay

image

Game Over Screen

image

About the Author

This Snake Game was created by Haroon Maqbool. For any suggestions, issues, or contributions, please feel free to contact Haroon Maqbool via email at haroon.1maqbool@gmail.com.

Thank you!

About

Explore the Snake Game repository! Immerse yourself in the classic arcade experience of controlling a snake, built with Pygame. Embrace the challenge of setting highscores. ๐Ÿ๐ŸŽฎ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages