Coding Golf gives you a full 18-hole round on an island, viewed from high above. You play as Fred, a course worker who slips out to play the holes himself, and the prize at the end is the Broken Links trophy. This is real golf with long drives and a full bag, not a mini course. Jasper Renow-Clarke (picosonic) built it for the 2020 js13k game jam.
The Course and Your Goal
Each hole is a bending strip of green fairway surrounded by deep blue water. You start on a red tee and finish at a flag on a pale green circle. Your goal is simple: sink the ball in as few strokes as you can, hole after hole.
The top-left panel lists the yards left to the cup, your stroke number, the par and the club in your hands. The top-right panel shows the wind, with an arrow and a speed in mph. That wind shifts after each shot.
Taking a Shot
First, pick a club and point the orange aim line. The line’s length matches how far the club carries. Then you swing with three taps:
- The first tap starts the meter.
- The second tap locks your power as the needle rises toward 100.
- The third tap sets accuracy as the needle drops back. Stop it close to 0.
If the needle runs past 100, the game picks the power for you and adds a small sideways error. A stop past 5 on the way back hooks the ball, and a stop below 0 slices it. Once the ball settles within about 2 yards of the cup, it drops in.
How to Control Coding Golf
| To do this | On a keyboard | With a mouse |
|---|---|---|
| Begin a round or close the scorecard | Press Space or Enter | Click anywhere |
| Rotate your aim left or right | Use Left and Right arrows | Roll the scroll wheel |
| Switch clubs | Use Up and Down arrows | — |
| Start the swing, lock power, lock accuracy | Press Space or Enter three times | Click three separate times |
| View the scorecard | Press S | — |
Hazards and Scoring
Water is the big danger. A splash puts the ball back where you hit it and adds one penalty stroke. Sand is quieter but still costly, since it kills your roll and weakens the next shot.
After each hole you see a result such as Birdie, Par or Bogey. Press S at any time for the scorecard, which splits the round into Out and Home nines and keeps a running total.
Ways to Lower Your Score
- Play the shape of the hole. Fairways zigzag, so a direct line to the flag often crosses the sea. Two dry shots beat one wet one.
- Club up into the wind. A strong headwind steals distance. Check the arrow before every swing.
- Do not chase full power. Stopping just short of 100 is safer than spilling over it.
- Switch to wedges early. Close to the green, a wood will fly far past the flag.
Who It Suits
This round suits anyone who likes calm, careful sports games with a timing twist. A full 18 holes takes a while, so it works well when you have a longer break. If you want something lighter, try Mini Putt Park or browse more sports games.
Last played and checked by SZ Games:













