DEV Community

Cover image for Corkboard Fetch — A Dog Park Endless Runner Built for Dog Days
vaibhav shukla
vaibhav shukla

Posted on

Corkboard Fetch — A Dog Park Endless Runner Built for Dog Days

What I Built

Corkboard Fetch — a browser endless-runner starring a lost dog trying to fetch her way home through the neighborhood park. Jump fire hydrants, garden gnomes, arching cats, and a rogue robot vacuum; collect bones and tennis balls; snag bonus squirrels when they dash across the screen. The whole thing is styled like a "lost dog" flyer pinned to a park corkboard — pushpins, tape, torn-paper score card and all.

Demo

Play it here: https://github.com/vshukla171/corkboard-fetch/blob/main/corkboard_fetch.html (download or view raw, then open in any browser). Controls: Space/↑ to jump, ↓ to duck, or tap the top/bottom half of the screen on mobile.

Code

GitHub logo vshukla171 / corkboard-fetch

Corkboard Fetch — a browser endless-runner starring a lost dog trying to fetch her way home through the neighborhood park. Jump fire hydrants, garden gnomes, arching cats, and a rogue robot vacuum; collect bones and tennis balls; snag bonus squirrels when they dash across the screen.

How I Built It

The whole game runs on a with a simple physics loop (gravity, jump velocity, duck state) and hand-drawn vector sprites — the dog, obstacles, and collectibles are all drawn with canvas primitives, no sprite sheets.

For sound, I synthesized four effects (jump chirp, pickup ding, woof, game-over thud) directly with oscillators via the Web Audio API — no audio files, keeping the whole thing a single portable HTML file.

The leaderboard uses the artifact's persistent key-value storage: a shared global top-10 list alongside a private personal-best for the current player, so anyone who plays is competing against everyone else who's played.

For the visual direction, I grounded everything in the "community corkboard flyer" object — cork texture, torn paper, pushpins, tape — since that's a concrete, recognizable artifact from an actual dog park.

Prize Categories

Not submitting to a specific prize category this round — just here for the dogs. 🐾

Top comments (0)