https://github.com/raphaelm/snakelet
Minimal snake game in JavaScript
https://github.com/raphaelm/snakelet
Last synced: 2 months ago
JSON representation
Minimal snake game in JavaScript
- Host: GitHub
- URL: https://github.com/raphaelm/snakelet
- Owner: raphaelm
- Created: 2016-11-19T17:47:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-08T13:33:49.000Z (over 8 years ago)
- Last Synced: 2025-02-28T13:38:55.541Z (3 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 18
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Snakelet
--------This is a minimal snake game that can be embeded into any web page as simple as:
It will render a 5px-large snake and a 5px-large target somewhere on the page.
Currently, there aren't many configuration options. I'd accept pull requests to
make colors, sizes configurable.Touch screen controls are supported and the game state is stored in the browser's session storage such that it survives refreshing the page.
License: [CC0 1.0 Universal (public domain)](https://creativecommons.org/publicdomain/zero/1.0/)
Author: Raphael Michel