Skip to content

Latest commit

History

History
23 lines (15 loc) 路 649 Bytes

README.md

File metadata and controls

23 lines (15 loc) 路 649 Bytes

馃懢 Space Invaders

Space Invaders game in single (~4KB Gzipped) JavaScript file!

Play Online

Using in your pages

Checkout index.html for additional styles.

<div id="game"></div>
<script type="module">
const { startGame } = await import("https://cdn.jsdelivr.net/gh/pi0/space-invaders/index.js");
startGame({ selector: "#game" });
</script>

License

MIT - Pooya Parsa pooya@pi0.io

Based on a codepen by Anthony Del Ciotto (@adelciotto)