Projects/DAM IT!
DAM IT!
A cute, saucy, one-thumb beaver arcade game set in the Alberta foothills. Chomp aspen, dodge the owl, raise the dam before winter.
Play it
Overview
Tap the left or right half of the screen to chomp that side of the aspen. Don't chomp the side with a hazard on it — a branch, a great horned owl, or a bear clinging to the trunk. And don't stop: a draining timer means hesitation is its own punishment.
Between runs you bank the wood you cut and spend it in The Valley — raising the dam, upgrading the lodge, growing a colony of kits before winter arrives. Max out a valley and you move downstream to a bigger, richer one. Forever.
Controls
- Tap the left or right half of the screen, or press the left / right arrow keys
- Avoid the side showing a hazard
- Keep the timer bar from running dry
- Spend wood in the hub between runs, then hit PLAY again
Designed for a phone in portrait, one thumb — but it plays fine on a desktop.
How it's built
Vanilla JavaScript on an HTML5 canvas, with a small WebAudio synth for sound.
Every asset — art, animation, audio — is generated procedurally in code, so there
is nothing to download and no image or sound files anywhere in the repo. Progress
saves to localStorage.
That constraint is why it can run embedded in this page at all: the whole game is about 60 KB of JavaScript and two small support files.
Stack
- JavaScript
- HTML5 Canvas
- WebAudio