16 games. One extends.
mbl-games adds 16 games to any Nuxt 4 application via the layer system — arcade classics, kids games, and multiplayer party games. All audio is generated at runtime — no audio files — using Web Audio API oscillators and lookahead sequencing.
Add to your Nuxt app
// nuxt.config.ts
export default defineNuxtConfig({
extends: ['../mbl-games'], // local path
// or from npm:
extends: ['nuxt-mbl-games'],
}) That's it. Routes at /games/* are immediately available.
Sound composables
<script setup>
// Auto-imported composables from the layer
const { play } = useSound('shoot') // sfx
const { start, stop } = useMusic() // background music
</script>All audio is synthesized via Web Audio API oscillators and noise buffers. A lookahead sequencer schedules notes 150ms ahead for glitch-free looping.
Unfiltered multiplayer party game — fill in the blanks, the most wrong answer wins
Texas Hold'em — bet, raise, bluff, go all-in. Bot opponents
Classic snake on Canvas
Match pairs of cards
140 questions, 7 categories
Merge tiles to 2048
Shoot down the alien fleet
Alien formations that dive-bomb your ship
Maze driver, collect all flags
Side-scroll and stomp enemies
Side-scroll shooter
Dig tunnels and defeat underground monsters
Penalty, free kick or goalkeeper mode
Count the animals — for kids
Spell animal names — for kids