Skip to content

Enjoy the classic Snake Game implemented in Python using the Pygame library. Control a growing snake as it navigates the game board, eating food and avoiding collisions. Customize game settings, challenge your reflexes, and have fun with this timeless arcade game.

License

Notifications You must be signed in to change notification settings

Aditya-Mishra799/Snake-game-using-Pygame-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game Made with Python [Pygame] License: MIT

Welcome to the Snake Game! 🐍🎮

Enjoy the classic Snake Game implemented in Python using the Pygame library. Control a growing snake as it navigates the game board, eating food and avoiding collisions. Customize game settings, challenge your reflexes, and have fun with this timeless arcade game.

Table of Contents

Features

  • Menu Panel: Accessible after clicking the menu button.
  • Control Options: Move the snake using keyboard arrow keys or by turning on-screen keys from the menu.
  • Audio Control: Mute the game audio from the menu.
  • Adjustable Speed: Increase the snake's speed from the menu.
  • User-Friendly Interface: Clear and intuitive menu panel.
  • Enjoyable Gameplay: Classic snake game mechanics with customizable settings.

Snake Game Screenshot

Technologies Used

  • Python: A high-level programming language.
  • Pygame: A set of Python modules designed for writing video games.

Installation

Prerequisites

  • Python: Ensure Python is installed on your system.
  • Pygame: Install the Pygame library.

Steps to Install

  1. Clone the repository:

    git clone https://github.com/Aditya-Mishra799/Snake-game-using-Pygame-Python.git
    cd Snake-game-using-Pygame-Python
  2. Install Pygame:

    pip install pygame

Running the Game

  1. Execute the main.py file:

    python main.py
  2. Alternatively, you can play the game on Replit:

    Play on Replit

Usage

  • Menu Panel: Click the menu button to access various game settings.
  • Move the Snake: Use the keyboard arrow keys or enable on-screen keys from the menu.
  • Mute Audio: Mute the game audio through the menu.
  • Adjust Speed: Increase the snake's speed from the menu settings.

Configuration

Menu Settings

  • Control Options: Choose between keyboard arrow keys or on-screen keys for controlling the snake.
  • Audio Control: Enable or mute the game audio.
  • Speed Adjustment: Modify the speed of the snake to increase the game's difficulty.

License License: MIT

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

Developed by Aditya Mishra. For any inquiries, please contact me via adityamishra9124@gmail.com.

LinkedIn: Aditya Mishra

LeetCode: Aditya Mishra


Thank you for playing the Snake Game! We hope you enjoy it and find it both fun and challenging.

About

Enjoy the classic Snake Game implemented in Python using the Pygame library. Control a growing snake as it navigates the game board, eating food and avoiding collisions. Customize game settings, challenge your reflexes, and have fun with this timeless arcade game.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages