Skip to content

Latest commit

 

History

History
61 lines (48 loc) · 2.18 KB

README.md

File metadata and controls

61 lines (48 loc) · 2.18 KB
logo

SnakeGame-Python

A simple GUI based Snake Game using Python's PyGame library.

pygame-logo

made-with-python versions pygame Open Source? Yes!

Installation

Download the Python 3 installer package from the official website and install it, if not installed previously.

Run the following command in the terminal to install the PyGame library:

> pip install pygame

Running the application

Download the source code from the repository and run the file just as any other Python script (.py) file.

> python3 SnakeGame\ SnakeGame.py

Screenshots

Welcome Screen Game Screen
Game Over Screen

Usage

  • Press Space Bar to start the game.

  • Use Arrow Keys to move the snake.

You can reach out me at:

  • GitHub
  • LinkedIn