All case studies

DEV3 Technologies · own product

Bubu & Dudu Cozy Game Suite: four HTML5 games, one engine pattern, zero asset files

Our free, fan-made game suite: a co-op platformer, a café cooking game, 15 solver-verified puzzles and a love-note room decorator in one Phaser 3 web app, with every sprite and sound generated in code.

Industry
Games & interactive

Live project preview

DEV3 Technologies · own product — screenshots
Open live demo
The game hub: four games, one shared Paw Coin wallet

The game hub: four games, one shared Paw Coin wallet

The challenge

Four different genres had to live in one small web app and feel like one product: a physics platformer for two players on one keyboard or one phone, a drag-and-drop time-management game, a grid puzzle game whose levels must never be impossible, and a creative tool whose output can be shared without a server. All of it had to look like soft, hand-drawn cartoons at any screen size, from a phone held sideways to a Retina laptop, and stay quick to download.

Our solution

We built the suite as one Vite and Phaser 3 app with a DOM hub, and gave every game the same shape: a pure, deterministic TypeScript engine with no DOM, and a Phaser scene that only renders the engine and turns input into engine calls.

Key design decisions

  • Engines first, scenes second. The platformer, café, maze and note codec are plain TypeScript modules driven at a fixed 60 Hz step where it matters. That is why 54 unit tests can cover the rules directly, without a browser.
  • A solver as level QA. The Hug Maze ships with a breadth-first solver over bear positions and pushable objects. Every one of the 15 levels is proven solvable, its par is the solver’s optimum, and during design we also re-solved each level with its featured mechanic removed to see whether the puzzle really depends on it.
  • Physics-aware level checks. Snack Run’s tests derive reach limits from the real jump arc and prove that both bears can reach the goal and every snack in all 5 levels.
  • Kind failure states. The café never ends badly: an expired order makes Dudu cry, and Bubu’s Cheer Up Strawberry restores 30% patience for everyone. The platformer’s Love Tether rewards staying together instead of punishing hard.
  • Serverless sharing. A love note and its decorated room are compressed with deflate into a base64url URL hash. An optional secret word encrypts it with AES-GCM-256 and a PBKDF2 key, and decoding validates and clamps every field.
  • Procedural, resolution-aware art. Both bears, the customers, food, furniture and tiles are Canvas 2D vector painters baked into texture atlases at the device pixel ratio, with the camera zoomed to match, so a 1600 × 900 logical scene is pixel-sharp on any display.

Architecture

src/core holds the art (bears and props), texture baking, synthesised audio and a single LocalStorage save with the shared Paw Coin wallet. src/games holds the four engines, src/scenes one Phaser scene per game on a shared base scene (fixed step, popups, particles), and src/ui the hub, top bar, HUD, modals and touch controls.

Results

The suite ships as a free download and a playable demo. By the numbers, counted from the source and test runs:

  • 4 games in one app, with 5 platformer levels, 8 café recipes, 15 puzzles and 16 furniture items
  • 15 of 15 maze levels proven solvable, each par set by the solver
  • 54 Vitest tests and 8 Playwright browser tests, including a high-DPI display and a phone in landscape
  • About 385 KB gzipped plus the font, with zero image or audio files

Play the browser demo or get the free source code on the DEV3 marketplace. Bubu & Dudu are characters by their original creator; this is an unofficial fan tribute.

Related case studies