Skip to content

Bornunique911/Snake-Game-in-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game in Python

This repository contains a classic Snake Game implemented in Python using the Pygame library.

Features

  • Full-screen mode
  • High score tracking
  • Background music and sound effects
  • Randomly generated obstacles (bricks)
  • Replay functionality

How to Play

  • Use the arrow keys to control the snake's movement.
  • Eat the apple to grow the snake and increase your score.
  • Avoid colliding with the walls, your own body, and the obstacles.

Installation

  1. Clone the repository:
    git clone https://github.com/Bornunique911/Snake_Game_in_Python.git
  2. Navigate to the project directory:
    cd Snake_Game_in_Python
  3. Install the required dependencies:
    pip3 install -r requirements.txt

Running the Game

To start the game, run the following command:

python3 snake-game.py

Dependencies

  • Python 3.x
  • Pygame

Screenshots

Game Screenshot

Acknowledgements

About

This repository contains a classic Snake Game implemented in Python using the Pygame library.

Resources

Stars

Watchers

Forks

Languages