An open API service indexing awesome lists of open source software.

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

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