https://github.com/danielzlatanov/snake
Control the snake, collect food, and aim for high score
https://github.com/danielzlatanov/snake
browser-game creative-coding css-grid github-pages grid-layout javascript-game snake-game web-based-game
Last synced: about 1 month ago
JSON representation
Control the snake, collect food, and aim for high score
- Host: GitHub
- URL: https://github.com/danielzlatanov/snake
- Owner: danielzlatanov
- License: mit
- Created: 2022-11-12T05:01:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-21T21:07:25.000Z (about 2 years ago)
- Last Synced: 2025-02-09T10:14:32.050Z (3 months ago)
- Topics: browser-game, creative-coding, css-grid, github-pages, grid-layout, javascript-game, snake-game, web-based-game
- Language: JavaScript
- Homepage: https://danielzlatanov.github.io/snake/
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Snake
A simplified **Snake** game.This game has been created using HTML, Javascript and CSS grid layout.
## Demo
A short **video:**https://user-images.githubusercontent.com/110429874/201458918-0e08ed0d-99cf-4176-9658-9f330224a320.mov
## Goals and Keyboard controls
Your goal is to control the snake's movement and collect food in a grid layout. Try to beat your own record!
You can control the snake with the following keys:
- `Arrow Up` *for* `up`
- `Arrow Down` *for* `down`
- `Arrow Left` *for* `left`
- `Arrow Right` *for* `right`The game will be started after pressing `any` arrow key.
Feel free to play this game on GitHub Pages, directly in your browser ->
[Link](https://danielzlatanov.github.io/Snake/)Have fun.