Dat Games 🎮
A cozy logic puzzle arcade — 15 original games in one installable PWA. Procedural infinite puzzles, daily challenges with leaderboards, and a delightful cat & mouse theme universe.
The crown jewel of Dat Games. Place one queen (or fish cracker 🐠) in each row, column, and colored region — no two queens may touch, even diagonally. Powered by a deterministic PRNG engine that generates a trillion unique valid boards. Daily challenges with global leaderboard and TOP 13% rank badges.
Classic 9×9 Sudoku and Color Sudoku in one. Procedurally generated with four difficulty tiers. Warm pastel color palette, smooth ink-fill animations, and a relaxing ambient synth soundscape from the Web Audio engine.
The beloved 2048 merge mechanic reimagined with cat evolution tiers — from tiny kitten 🐱 to legendary cosmic cat 🌟. Every merge triggers a satisfying particle burst and purring synthesizer chord.
Every puzzle is generated on-demand using a deterministic seeded PRNG (mulberry32). Daily challenges use a date-derived seed so every player worldwide receives an identical puzzle — perfect for fair leaderboard comparison. No puzzle is ever stored; they materialise from seed alone.
function mulberry32(seed) {
return () => {
seed |= 0; seed += 0x6D2B79F5;
let t = Math.imul(seed ^ seed >>> 15, 1 | seed);
return (t ^ t >>> 7) >>> 0;
}
}
A deliberate UX decision: no game-switcher tabs during gameplay. Navigation flows through three clean tiers — the main hub, a dedicated game splash screen, and the actual gameplay view. Switching games requires going back through the hub, keeping the play experience immersive and distraction-free.
All puzzle generation and constraint-solving runs in a dedicated Web Worker, completely off the main thread. The UI remains buttery smooth at 120fps even when generating a fully validated 9×9 Sudoku or a complex Queens board. Puzzles are posted back via structured clone when ready.
self.onmessage = ({ data }) => {
const board = solvePuzzle(data.seed, data.type);
self.postMessage({ board, solved: true });
};
// Main thread never blocks 🎯
Zero external MP3s. Every sound — tile placements, merge cascades, win fanfares, ambient loops — is synthesised in real-time using the Web Audio API. Oscillators, envelope shapers, and convolution reverb create a warm, cosy soundscape unique to each game. Loads instantly, works offline.
const osc = ctx.createOscillator();
osc.type = 'sine';
osc.frequency.setValueAtTime(freq, ctx.currentTime);
gain.gain.exponentialRampToValueAtTime(
0.001, ctx.currentTime + 0.6
);
Every game exists in two parallel universes simultaneously. Swap the entire game's vocabulary with one toggle — Meow Doku's queens become fish crackers 🐠 in Cat mode or cheese wheels 🧀 in Mouse mode. Sounds, particles, iconography, and even the tutorial text shift to match.
Dat Games ships a new game or major feature every couple of weeks. Following the build in public journey means you see the puzzle engine commits, the failed UI attempts, and the small wins — all of it.
#buildinpublic #indiegames