Skip to content

Releases: x1n-Q/404game

v0.1.0 — Initial Release

29 May 17:02

Choose a tag to compare

🎉 First public release of 404game.js

Drop-in JavaScript library that turns boring 404 pages into playable mini-games.

🎮 Games included

  • 🐍 Snake — Arrow keys / Swipe
  • 🐦 Flappy — Space, Click / Tap
  • 🧱 Breakout — Arrow keys + Space / Swipe + Tap
  • 🦖 Dino — Space / Tap

🎨 Themes

neon · retro · minimal · dark

✨ Features

  • Zero dependencies, < 30KB minified + gzipped
  • Touch + keyboard controls — works everywhere
  • Local high scores per game
  • TypeScript types included
  • Framework-friendly (React, Vue, Svelte, vanilla)
  • Auto-cleanup with destroy()

📦 Install

npm install 404game

🚀 Usage

<div id="game"></div>
<script src="404game.umd.cjs"></script>
<script>Game404.mount('#game');</script>

See the README for full docs.