# Tasks Work in order. Finish a task's check before starting the next. 1. **Set up.** Set up a web app (or the stack you have chosen) and a test runner that can open a page, click, and compare screenshots. Read `spekkr.inputs.json` first. Check: a blank or heading page loads, and an empty test run passes. 2. **The grid (R1).** Build what `R1. The grid` asks for, to the numbers in `design.md`. In particular: A cell is one of `empty`, `sand`, `water`, `fire`, `plant`, `fuse`, `ash`. Check: the `R1. The grid` acceptance checks pass. 3. **Element rules (R2).** Build what `R2. Element rules` asks for, to the numbers in `design.md`. In particular: Sand falls down, or down-left or down-right if down is solid, preferring left when `wind` is off. Check: the `R2. Element rules` acceptance checks pass. 4. **A known scene (R3).** Build what `R3. A known scene` asks for, to the numbers in `design.md`. In particular: `fixtures/scene-fountain.bin` is a 128 by 128 scene. After 240 ticks with `wind` off, a PNG of the grid hashed with the palette `studio` matches the golden `water-flow` frame, and a cell-count checksum matches the figure in `design.md`. Check: the `R3. A known scene` acceptance checks pass. 5. **Painting and files (R4).** Build what `R4. Painting and files` asks for, to the numbers in `design.md`. In particular: A brush paints the chosen element in a 1, 3 or 5 cell radius. Painting is the only input besides play/pause and a reset. Check: the `R4. Painting and files` acceptance checks pass. 6. **Inputs (R5).** Build what `R5. Inputs` asks for, to the numbers in `design.md`. In particular: The build reads `spekkr.inputs.json`. Settings label the UI, options turn features on or off, and a swap must be one of its choices. Check: the `R5. Inputs` acceptance checks pass. 7. **Goldens.** Capture the frames named in `design.md` at the defaults, with motion frozen where the file says so. Compare them within the stated tolerance. Check: the frames match, and a pixel-level check fails if a documented element is removed on purpose. 8. **Finish.** Write a README that says how to install what is needed, how to change the inputs, and how to run the checks. Run the one command from a clean folder. Check: every item under Definition of done in `spec.md` is true.