Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 21, 2024. It is now read-only.

mudoker/Snake_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

Description

Snake Game is a classic arcade game inspired by the Google Snake game. It's developed using Python and pygame.

Features

  • Classic snake gameplay.
  • Simple and intuitive controls.
  • Increasing difficulty as the snake grows longer.
  • Score tracking to keep track of your performance.
  • Game over screen with the option to restart.

Requirements

  • Python 3.x
  • pygame library

Installation

  1. Clone the repository or download the source code.
  2. Install Python if you haven't already. You can download it from here.
  3. Install pygame library using pip:
    pip install pygame
    

How to Play

  1. Run the snake_game.py file.
  2. Use the arrow keys to control the direction of the snake.
  3. Eat the food (red square) to grow longer.
  4. Avoid colliding with the walls or the snake's own body.
  5. The game ends when the snake collides with a wall or itself.

Credits

This game is developed by Mudoker.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published