A simple GUI based Snake Game using Python's PyGame library.
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
Download the source code from the repository and run the file just as any other Python script (.py) file.
> python3 SnakeGame\ SnakeGame.py
Welcome Screen | Game Screen |
Game Over Screen |
-
Press Space Bar to start the game.
-
Use Arrow Keys to move the snake.
You can reach out me at: