Examples
Whiplash Driven Development examples
Each example shows WDD on one kind of task: the goal, the verifier that decides when it is done, the set-up, the kickoff prompt, how the rounds went, what worked and what to watch for.
These are worked examples written to show the method: composites of common situations, not reports of specific projects.
For beginners
Making a snake game with no coding, the WDD way
A beginner WDD session: ask an AI for a snake game, then keep going and make no mistakes until it plays properly. No coding, about 20 minutes.
A website for your band, built by pushing an AI
Make a band website with songs, gigs and photos by telling an AI what you want and pushing it until it looks right. A beginner WDD example.
A times-tables quiz app: WDD for kids
A kid-friendly WDD project: ask an AI for a times-tables quiz with scores and stars, then keep going until it works. Do it with a parent or teacher.
Reverse engineering
Matching decompilation with Whiplash Driven Development
How to use WDD to turn a game binary back into C that compiles to the same bytes: the verifier, the prompts, the loop and the traps.
Reverse-engineering a file format with WDD
Round-tripping is the verifier: read a file, write it back, compare bytes. A WDD loop grows a reader and writer until every sample survives.
Performance
Getting a port from 5 FPS to 60 with Whiplash Driven Development
A WDD loop for performance: measure frames per second, profile, change one thing, measure again, keep going until the target is hit.
Hitting a web performance budget with WDD
Lighthouse scores and bundle sizes make good WDD targets: measure, change one thing, measure again, until the page fits the budget.
Testing
Getting a failing test suite to green with WDD
The simplest WDD loop: 140 failing tests, one verifier, an agent that may not stop until every test passes, and rules that keep it honest.
Raising test coverage with WDD, without junk tests
Coverage is easy to game. A WDD loop that raises it honestly pairs the coverage number with mutation testing, so tests must actually check something.
Migration
Migrating a codebase to TypeScript strict mode with WDD
Use the type checker as the verifier and push an agent through thousands of errors, file by file, without letting it reach for any casts.
A major framework upgrade with WDD
Upgrading a framework by several major versions is a long chain of break-and-fix. A WDD loop with a build, tests and a smoke test can grind through it.
Building
Building a parser that passes a conformance suite with WDD
Point an agent at an official conformance test suite and keep it going until every case passes: a near-perfect WDD task with a clear finish line.
Emulator accuracy with WDD and test ROMs
Emulator test ROMs print pass or fail for each CPU instruction and timing rule. A WDD loop works through them one by one.
Maintenance
Fixing a flaky CI pipeline with WDD
A flaky test only fails sometimes, so the verifier must run it many times. Here is how to build that check and push an agent until it holds.
Zero lint warnings with a WDD loop
Turning on stricter lint rules creates thousands of warnings. A WDD loop clears them rule by rule, with tests guarding behaviour.