1. Drop the script
Load play404.js from your project or CDN path. Works on static sites and SPAs.
Play404 is an original micro-game layer you can embed in minutes. Keep visitors engaged during 404 errors, loading states, and offline moments with a polished endless runner designed for modern brands.
Add a single script tag, pass a config object, and mount Play404 in your 404 or loading container. No frameworks, no backend, no heavy dependencies.
Load play404.js from your project or CDN path. Works on static sites and SPAs.
Set title, subtitle, colors, CTA, obstacle density, speed, and leaderboard placeholder in seconds.
Visitors stay engaged instead of bouncing when routes fail, content stalls, or connectivity drops.
Turn dead-end URLs into memorable brand moments with instant replay value.
Reduce perceived wait time during async flows or long import operations.
Offer light entertainment in flaky network conditions while users wait to reconnect.
Keep shoppers engaged instead of exiting when they hit invalid product paths.
Productized, commercial-friendly, and intentionally lightweight for real production pages.
Auto-run gameplay with jump + slide controls, custom mascot, and non-derivative obstacle design.
Speed ramps over time with configurable spawn density to tune casual vs challenging sessions.
Keyboard, tap, and on-screen buttons with pause/resume support for all breakpoints.
Canvas + vanilla JS architecture optimized for fast load and static hosting.
Persistent score tracking with localStorage and optional share-score placeholder action.
Subscribe to play404:* events or pass onEvent callbacks for product metrics.
After purchase, you get your licensed script package and install instructions. Add it to your 404, loading, or offline page in minutes.
<div id="play404-root"></div>
<script src="/assets/play404.min.js"></script>
<script>
// Provided after purchase
window.Play404License = { key: "YOUR_LICENSE_KEY" };
window.Play404.create("#play404-root", {
titleText: "Page not found",
subtitleText: "Play while we get you back on track",
accentColor: "#4f9cff",
backgroundColor: "#0f172a",
buttonLabel: "Go Home",
ctaLink: "/",
obstacleDensity: 1.1,
difficultySpeed: 1,
enableLeaderboardPlaceholder: true
});
</script>
Need full-page implementation? Use the bundled 404 template after purchase.
A single, honest price for developers and indie builders. Pay once and keep it.
This is the same lightweight runner your visitors will see on your 404 or loading page.
One-time payment. Use Play404 on unlimited websites with full access to the script and customization options.
No. Play404 uses original visuals, mascot geometry, obstacle set, and UI language while staying familiar to the endless runner genre.
No backend is required. Everything runs statically with localStorage for high score persistence.
Yes. The product structure is designed for white-label packaging and handoff-ready documentation.
Yes. An enable/disable leaderboard placeholder is already included as an extension point.