Skip to content

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

Notifications You must be signed in to change notification settings

pi0/space-invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👾 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 [email protected]

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

About

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

Resources

Stars

Watchers

Forks

Sponsor this project