Skip to content

raphaelm/snakelet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Snakelet

This is a minimal snake game that can be embeded into any web page as simple as:

<script src="snake.js"></script>

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)

Author: Raphael Michel

About

Minimal snake game in JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages