Skip to content

autruonggiang/Simple-Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Snake

The classic snake game made in Python Tkinter. Written for Python3 by GeeksforGeeks. Licensed under the MIT License.

Snake Game image

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.

  • 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