https://github.com/lablnet/snake
It is my own implementation of Snake Game in HTML 5 canvas and vanilla js.
https://github.com/lablnet/snake
games html5-canvas javascript mit-license open-source snake snake-game vanilla-js
Last synced: 10 months ago
JSON representation
It is my own implementation of Snake Game in HTML 5 canvas and vanilla js.
- Host: GitHub
- URL: https://github.com/lablnet/snake
- Owner: lablnet
- License: mit
- Created: 2020-11-01T04:11:59.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-03-08T09:33:28.000Z (over 4 years ago)
- Last Synced: 2025-01-21T16:45:11.640Z (over 1 year ago)
- Topics: games, html5-canvas, javascript, mit-license, open-source, snake, snake-game, vanilla-js
- Language: JavaScript
- Homepage: https://lablnet.github.io/snake/index.html
- Size: 15.6 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Snake Game
It is my own implementation of Snake Game in HTML 5 canvas and vanilla js.
## Demo
Try the game at [https://lablnet.github.io/snake/index.html](https://lablnet.github.io/snake/index.html)
**Note:** This game is only test in Chrome v85 and Firefox v82.
## For developers
In order to run it on your machine you may have to follow the following steps:
1. Clone the repo using `git clone https://github.com/lablnet/snake.git`
2. Open `index.html` in browser.
## Contribution
You're welcome to contribute to this project. You should follow contribution guideline [Contribution guideline](https://github.com/lablnet/snake/blob/main/CONTRIBUTING.md)
## Known Issues
1. when game over, it does not play again on click user have to refresh page.
2. Sometimes the snake behaves unexpectedly.
3. Not working properly in mobile.
## License
MIT
## Support
If you like this project; Donate coffee?
here is the bitcoin address.
[](https://img.balancebadge.io/btc/37x6PA4qtPu2fQnYdW5U7jztYhbchASpBV.svg)
`37x6PA4qtPu2fQnYdW5U7jztYhbchASpBV`
Thank, you so much.
## Disclaimer
**I do not accept responsibility for any illegal usage**