https://github.com/shaw145/snake-game
A mini Project of Snake game using HTML,CSS & JAVASCRIPT (not Responsive)
https://github.com/shaw145/snake-game
beginner-project javascript javascript-game javascript-project javascriptproject snake-game snakegame snakegame-javascript
Last synced: 11 months ago
JSON representation
A mini Project of Snake game using HTML,CSS & JAVASCRIPT (not Responsive)
- Host: GitHub
- URL: https://github.com/shaw145/snake-game
- Owner: Shaw145
- Created: 2024-04-22T11:32:46.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-23T18:40:19.000Z (almost 2 years ago)
- Last Synced: 2025-02-14T15:43:38.188Z (about 1 year ago)
- Topics: beginner-project, javascript, javascript-game, javascript-project, javascriptproject, snake-game, snakegame, snakegame-javascript
- Language: JavaScript
- Homepage: https://shaw145.github.io/Snake-Game/
- Size: 10.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Snake Game
A Snake Game build using HTML,CSS & Javascript.
## About
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.
### How to Play
- Use the arrow keys (Up, Down, Left, Right) to control the direction of the snake.
- The snake will move continuously in the direction it is facing.
- Eat the food (represented by red squares) to grow longer.
- Avoid running into the walls or the snake's own body, as this will end the game.
- The game speed increases as the snake grows longer, making it more challenging.
### Extra Featues
- Update High Score and Store in Local Storage.
- Increase Speed of the Snake everytime its eats a food.
- Can't move in the opposite direction in which the snake moving etc...
## Screenshots

## Prerequisites
- HTML: For structuring the game layout.
- CSS: For styling the game elements and layout.
- JavaScript: For implementing the game logic and functionality.
## Author
- **Suman Shaw**
## Resource
- CodeWithHarry
- freeCodeCamp