https://github.com/yanashineru/snake-game
Little retro game Snake on HTML & JavaScript
https://github.com/yanashineru/snake-game
game html javascript retro-game snake snake-game snakegame
Last synced: 11 months ago
JSON representation
Little retro game Snake on HTML & JavaScript
- Host: GitHub
- URL: https://github.com/yanashineru/snake-game
- Owner: YanaShineRu
- License: gpl-3.0
- Created: 2023-05-19T13:18:09.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-19T15:03:19.000Z (about 3 years ago)
- Last Synced: 2025-01-13T13:50:33.460Z (over 1 year ago)
- Topics: game, html, javascript, retro-game, snake, snake-game, snakegame
- Language: HTML
- Homepage:
- Size: 11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Snake Game

### Setting snake.js
* const boardWidth = 600;
* const boardHeight = 600;
> Edit size game board + edit size css style #game-board in Snake Game.html
* let passOverBorder = true;
> ***true*** - Game mode no border
> ***false*** - Game mode with border
### Game Control
* Button Top ↑
* Button Bottom ↓
* Button Left ←
* Button Right →