holes.module
README.md
holes
The six holes of Pocket Putt Islands, one per floating tropical island: name, par (2,3,3,3,3,4 = 18), island origin + yaw, and a declarative layout of puttCourse pieces on the 2 m tile grid (tee, lanes, curves, windmill, sliding blocker, bumpers, ramp, sand, water, cup). The cup position and the obstacle list are derived from the layout, so they always match what is built.
World helpers: get(i), all(), COUNT, tee(i), cup(i), forward(i), teeForward(i), rotation(i), toWorld(i, x, y, z), toOffset(i, x, y, z), tileCentre(entry), totalPar().
Read by pocketPutt.course (builds the islands), the main scene build (spawn + camera pose), the round (tees, cups, fly-over) and the screens (par, hole names). Fields are only ever added, never renamed.