@@ -12,26 +12,28 @@ This game allows users to control a snake to eat food, which makes the snake gro
12
12
13
13
## Installation
14
14
15
- 1 . ** Clone the repository:**
16
- ``` bash
17
- git clone https://github.com/yourusername/snake-game.git
18
- cd snake-game
19
- ```
20
-
21
- 2 . ** Install the required Python modules:**
15
+ 1 . ** Install the required Python modules:**
22
16
If you haven't installed Pygame, you can do so using pip:
23
17
``` bash
24
18
pip install pygame
25
19
```
26
20
Pygame is required to run this game as it provides functionalities for graphics, sounds, and user inputs.
27
21
28
22
29
- ## How to Run the Script
30
-
31
- 1 . Once you have installed Pygame and navigated to the project directory:
32
- ``` bash
33
- python snake_game.py
34
- ```
23
+ ## ▶️ How to Run the Script
24
+ 1 . Clone the Repository:
25
+ ```
26
+ git clone https://github.com/ShravanDalavi/Simple-Python-Mini-Projects.git
27
+ ```
28
+ 2 . Navigate to Directory:
29
+ ``` bash
30
+ cd Simple-Python-Mini-Projects/Snake\ Game
31
+ ```
32
+ 3 . Run the Script:
33
+ ``` bash
34
+ python snake_game.py
35
+ ```
36
+
35
37
36
38
## Game Controls
37
39
0 commit comments