You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a classic snake game created in python programming language using pygame.
5
+
6
+
7
+
**DESCRIPTION**
8
+
Snake is a video game genre where the player maneuvers a line that grows bigger after eating something, typically apples. Know about snake game [here](https://en.wikipedia.org/wiki/Snake_(video_game_genre))
9
+
10
+
11
+
12
+
To play this game download snake.py and resources in the same directory.
13
+
14
+
You also need to have pygame installed in your computer. Learn how to install pygame from [here](https://www.pygame.org/wiki/GettingStarted#Pygame%20Installation)
15
+
16
+
Open and run the file snake.py without making any modifications to it to ensure that everything is set up correctly. By "open and run" I mean do the following:
17
+
* Go to your IDE. From the File menu, choose "Open".
18
+
* Find the file snake.py and choose it.
19
+
* The template snake.py file should now be open. Run the file and enjoy the game :-D
20
+
21
+
You can play the game using up, left, right and down arrow keys to move the snake. Aim for apple and get highest score as possible :-D
22
+
23
+
24
+
**WHAT I HAD DONE**
25
+
In this game, I implemented three classes known as apples, snake and game, that will start up and carry out an interactive Snake game. The game uses a resources folder for graphics of apple, snake and game window as well as background music and other game sounds.
26
+
27
+
**DEMONSTRATION**
28
+

29
+
30
+

0 commit comments