Pocket Putt Islands
README.md
course
puttCourse.course is the kit's front door. It builds single pieces (spawnPiece) and whole holes from a declarative description (buildHole), sets the one course-wide theme (setTheme), spawns and shoots balls with engine physics impulses (spawnBall, shoot, resetBall, placeBall), and turns what a ball does into events naming the ball and its player (on("ballInCup", fn)). Called by game code, the PuttHole/CoursePiece components and the gallery. See the package README for the full API.