Play Coding Golf Online Free

A top-down island golf round where club choice, wind and a three-tap swing meter decide every stroke.

Coding Golf title screen on SZ Games
  • Best with keyboard or mouse

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:

  1. The first tap starts the meter.
  2. The second tap locks your power as the needle rises toward 100.
  3. 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

Input guide for Coding Golf
To do thisOn a keyboardWith a mouse
Begin a round or close the scorecardPress Space or EnterClick anywhere
Rotate your aim left or rightUse Left and Right arrowsRoll the scroll wheel
Switch clubsUse Up and Down arrows—
Start the swing, lock power, lock accuracyPress Space or Enter three timesClick three separate times
View the scorecardPress 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:

Coding Golf – Questions and Answers

How far does each club hit?

The bag holds 19 clubs. The 1 Wood carries about 278 yards, the wedges cover roughly 30 to 115 yards, and the putter rolls just 10. The orange aim line always shows the reach of the club you have picked.

What decides par on a hole?

Par is worked out from the length of each fairway. It ranges from 3 on the short holes up to 6 on the long ones, and the info box in the top left shows it with your stroke count.

Why do my bunker shots go wrong?

Sand stops the ball where it lands. Your next shot from there loses power and can drift up to about 10 degrees off your aim, so give yourself a margin.

Do I need a keyboard?

Yes. Club changes only work with the Up and Down arrows, so a phone or tablet will not do. A mouse is handy for aiming and swinging alongside the keys.

Try Something Different