SkaceKamen / micro-survivors

https://skacekamen.github.io/micro-survivors
9 stars 2 forks source link
game javascript

Micro Survivors

Tiny survivors-like game that fits under 14 kB of minified JS code.

Features

Screenshots

ingame classes level-up start

Embedding into your website

Use gh-compatible CDN (jsDeliver as example here) to load the latest minified version and then call microSurvivors global function to start the game.

<script src="https://cdn.jsdelivr.net/gh/SkaceKamen/micro-survivors@main/main.min.js"></script>
<script>
  // injects the game canvas into element with id="survivors"
  microSurvivors(document.querySelector("#survivors"));
</script>