Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/autruonggiang/simple-snake-game
Simple snake game using tkinter.
https://github.com/autruonggiang/simple-snake-game
game python python-snake python-snake-game python3 simple tkinter
Last synced: about 1 month ago
JSON representation
Simple snake game using tkinter.
- Host: GitHub
- URL: https://github.com/autruonggiang/simple-snake-game
- Owner: autruonggiang
- License: mit
- Created: 2024-02-23T14:34:41.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-06-11T11:37:40.000Z (6 months ago)
- Last Synced: 2024-06-11T13:00:15.951Z (6 months ago)
- Topics: game, python, python-snake, python-snake-game, python3, simple, tkinter
- Language: Python
- Homepage:
- Size: 172 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python Snake Game
The classic snake game made in [Python Tkinter](https://docs.python.org/3/library/tkinter.html). Written for Python3 by [GeeksforGeeks](https://www.geeksforgeeks.org/snake-game-in-python-using-pygame-module/). Licensed under the [MIT License](https://choosealicense.com/licenses/mit/).
Simple Snake Game
## Basic Instructions
Use the arrow keys to move: the left arrow key to move left, the right arrow key to move right, the up arrow key to move up, and the down arrow key to move down.
## How to play
- Clone the repository:
```
$ git clone https://github.com/autruonggiang/Simple-Snake-Game.git
```- Install Python:
Make sure Python is installed on your system. You can download it from the official [Python website](https://www.python.org/).
- Open the project in Visual Studio Code:
Open Visual Studio Code and click on "File" -> "Open Folder...".
Select the folder where you cloned your repository.- Run ```game.py```:
With the Python file open, press ```F5``` or ```Ctrl + F5```. This will execute ```game.py``` in the integrated terminal.
- Play the game:
Once the game is running, follow the instructions to play the Snake Game. Typically, you'll use arrow keys to control the snake.
## About the Game