Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0d8d00e

Browse files
Update README.md
1 parent ac2282f commit 0d8d00e

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

‎Snake Game/README.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,28 @@ This game allows users to control a snake to eat food, which makes the snake gro
1212

1313
## Installation
1414

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:**
2216
If you haven't installed Pygame, you can do so using pip:
2317
```bash
2418
pip install pygame
2519
```
2620
Pygame is required to run this game as it provides functionalities for graphics, sounds, and user inputs.
2721

2822

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+
3537

3638
## Game Controls
3739

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /