← All challenges
CHALLENGE 03Game

A little race.

Six horses, play-money odds and a finish nobody scripted. Pick one, start the race, and see whether you would run it twice.

Pick a horse, start the race, then race again. Coins and bets are play money inside the game.

Each work is the model’s own file, run in an isolated sandbox: no network, and no access to anything on this site.

Qwen 3.6 · 35B

LOCAL
Harness
OpenCode + oMLX · 2026-08
Effort
3 rounds in an automated goal loop · 22 min of generation
File
One HTML file, 20.6 KB

8/8checks passed · rank 1 (tied)

Everything a script can verify from the brief passed.

Ranking

What works, and what people like.

Loading votes…

  1. =1 LOCAL 8/8 —
  2. =1 CLOUD 8/8 —
  3. =1 CLOUD 8/8 —
  4. – LOCAL not ranked —
  5. – LOCAL not ranked —

No login. One vote per browser; change it any time. Play first, then vote.

Rank is checks passed; ties go by votes; ★ is the crowd favourite.

All 8 checks, work by work3 runs each · 2026-11-10

Each check comes from a sentence in the brief and is settled by a script driving the page in a headless browser, not by reading the source. It measures whether required behaviour works, not whether the result is beautiful or fun. Download this checker

CheckQwen 3.6 · 35BBig Pickle · OpenCodeClaude Fable 5.2
Renders a canvaspassedpassedpassed
A horse can be selected before the racepassedpassedpassed
Has a start controlpassedpassedpassed
Animates over timepassedpassedpassed
A horse overtakes anotherpassedpassedpassed
Reports a result after the racepassedpassedpassed
Two races produce different outcomespassedpassedpassed
No console errorspassedpassedpassed
Passed8/88/88/8
Read this before trusting the ranking

Two of the works (Qwen 35B archive, Gemma 4) are early files: their model names come from their filenames, and they were made from an earlier brief that was not kept. They are here to play and vote on, but they are not checked or ranked. The Qwen 3.6 and Big Pickle works came from recorded runs of this brief through an automated goal loop that also asked for page metadata. The checker has few checks, so ties are common here.

Each model has one work here. A rank describes that work, not the model in general.

THE BRIEF

The brief every model got.

PROMPT.TXT

The brief, verbatim.

Initial task · verbatim
Create a single-file, playable browser horse racing simulator/game.

Output ONE file named index.html — all CSS inline in <style>, all JS inline in <script>. No external dependencies, no build step, no image/audio assets from the internet (draw everything with Canvas 2D or CSS/SVG — simple geometric horse shapes are fine, this is not about art quality).

## Core gameplay (all of this must actually work, not just be described):
1. A **top-down or side-view race track** rendered on an HTML5 `<canvas>` element, with lane dividers and a clear start and finish line.
2. **6 horses** (or your choice of 4-8), each rendered as a simple distinct-colored shape/sprite (a colored oval/rectangle with a number is fine), each running in its own lane.
3. Each horse has a hidden "true speed" stat with some randomness applied per-tick (e.g. base speed +/- random variance each frame) so races have different outcomes each time — this must use real randomness (`Math.random()`), not a scripted/fixed outcome.
4. A **"Start Race" button** that begins the simulation; horses visibly animate/move across the canvas toward the finish line using `requestAnimationFrame` (real animation loop, not a single instant jump).
5. **Betting mechanic**: before the race starts, let the user pick one horse to bet on (click to select) and see fake odds displayed per horse (odds can be randomly generated per race, or based on relative speed stats — your choice, just make it feel real).
6. When the race finishes, show a results screen: finishing order (1st/2nd/3rd/etc), and whether the user's bet won, with a simple fake "winnings" number if they bet correctly.
7. A "Race Again" button that resets everything and lets you run a new race with fresh random odds/outcome.

## Polish (attempt these, but core gameplay above takes priority):
- Simple camera/canvas effects: a subtle screen shake or speed-line effect in the final stretch, horses jockeying for position visibly (not just moving in fixed lanes with no overtaking — try to have their canvas x-position actually reflect relative progress so a trailing horse can visually pass another).
- A basic commentary/log area that prints simple text updates during the race (e.g. "Horse 3 takes the lead!") triggered by actual position changes in your simulation, not randomly generated flavor text.
- Sound is optional and low priority — skip it if it adds complexity, this is not a requirement.

## Style: doesn't need to be fancy — a clean, readable UI is enough (track green/brown tones, clear typography for odds/results). Prioritize the simulation actually working and being playable over visual polish.

Write only index.html. No commentary, just create the file.