Skip to content

Commit e85a9e3

Browse files
committed
Readme Updated
1 parent f9a3b72 commit e85a9e3

File tree

4 files changed

+38
-1
lines changed

4 files changed

+38
-1
lines changed

images/Screenshot.png

103 KB
Loading
File renamed without changes.

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ <h1>Snake Game</h1>
2222
<div class="btns">
2323
<button class="reset btn">Restart</button>
2424
</div>
25-
<img src="snake.png" alt="">
25+
<img src="./images/snake.png" alt="">
2626
</body>
2727
</html>

readme.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## Snake Game
2+
A Snake Game build using HTML,CSS & Javascript.
3+
4+
## About
5+
This is a simple Snake Game implemented using HTML, CSS, and JavaScript. It's a classic game where the player controls a snake that moves around the screen, eating food to grow longer while avoiding collisions with itself and the walls.
6+
7+
### How to Play
8+
- Use the arrow keys (Up, Down, Left, Right) to control the direction of the snake.
9+
- The snake will move continuously in the direction it is facing.
10+
- Eat the food (represented by red squares) to grow longer.
11+
- Avoid running into the walls or the snake's own body, as this will end the game.
12+
- The game speed increases as the snake grows longer, making it more challenging.
13+
14+
15+
### Extra Featues
16+
- Update High Score and Store in Local Storage.
17+
- Increase Speed of the Snake everytime its eats a food.
18+
- Can't move in the opposite direction in which the snake moving etc...
19+
20+
## Screenshots
21+
22+
![ScreenShot](<./images/Screenshot.png>)
23+
24+
## Prerequisites
25+
26+
- HTML: For structuring the game layout.
27+
- CSS: For styling the game elements and layout.
28+
- JavaScript: For implementing the game logic and functionality.
29+
30+
31+
## Author
32+
- **Suman Shaw**
33+
34+
## Resource
35+
36+
- CodeWithHarry
37+
- freeCodeCamp

0 commit comments

Comments
 (0)