Back to all projects
In Progress v0.2|Sep 16, 2026 |AI Projects

Poly Golf — Low-Poly Mobile Golf Game

A playable Android golf game built in Unity: a custom flight integrator rather than a physics engine, a touch swing that went through six complete redesigns before it felt right, six holes and two practice grounds generated from data specifications, a front end built from design handoffs in UI Toolkit, and a Pro Shop with a signed save. Almost all of the code was written by AI models I directed — and the club models were made by hand in Blender, because that is the one thing the generators could not do.

UnityC#AI-BuiltBlenderUI ToolkitGame PhysicsAndroidIllustrator
Poly Golf shown on three phone screens: the main menu, the tee view with the HUD, and the aerial hole map
Poly Golf — the WebGL build, playable here Open full screen ↗

This is the real game, not a video. On a desktop, click and drag in place of a thumb: drag down from the ball to load power, then flick up through it to strike. The i button inside the window explains why it is worth playing on a phone instead.

01The Idea

I wanted to find out how far a non-programmer with a clear design sense could push a real, shippable product by directing AI coding models — and a game is the most honest test I could think of. A game cannot be half-built and still demo well. Either the swing feels good or it does not. Either the ball lands where you expected or the whole thing is noise. There is nowhere to hide.

So the target was a mobile golf game in the vein of the chunky, saturated, low-poly arcade golf titles on the Play Store: portrait phone, one-thumb controls, a readable flight, a real scorecard and a reason to come back. Unity 6 with the mobile render pipeline, Android first.

The scope was deliberately honest with itself from the start. The swing, physics, putting, scoring, club selection, menus, course and club select, settings, weather, loading screens and the store loop are all real. Membership signup, real-money purchases, multiplayer, leaderboards and accounts are deliberate stubs — styled screens with nothing behind them, because building a backend was never the point of the exercise.

  • EngineUnity 6000.5, URP mobile, portrait-locked Android
  • Course6 holes, par 30, plus a driving range and a putting green
  • Clubs17 clubs from driver to lob wedge, plus the putter
  • Store126 generated clubs across 6 brands and 21 lofts

02Six Swings to Get One Right

The swing is the whole game. Everything else is scaffolding around the two seconds where a thumb moves on glass. It took six complete redesigns, and the history of those six is the most useful thing in this project.

The original model was the obvious one: press and drag down to load power, the club animating back as you pull, then swipe up to strike, with the straightness of that up-swipe deciding whether the ball flew pure, faded, or sliced. Release without swiping and the shot cancelled.

It played badly, and the first playtest verdict was blunt: janky. Two bugs were hiding inside what felt like a design problem. The first was that releasing your finger during the up-swipe cancelled the shot instead of firing it — which is precisely what a real player does, so the game was punishing the natural motion. The second was worse and subtler: power was read from the live drag position at the moment of the strike, but the up-swipe had already dragged the finger back toward the start, so it erased the power you had just loaded. A swipe intended at 40% was firing at 6%. The fix was to take power from the deepest point the finger reached during the stroke, not from where it happened to be at impact. That one change turned a mechanic that felt broken into one that felt deliberate.

From there the iterations were about feel rather than correctness: an aim arrow that grows and turns gold as power loads, steerable left and right during the backswing but guarded so the impact flick cannot yank your aim; a hold-to-ramp variant; a cone that runs against the drag; and eventually a free-swing mode where the club head genuinely follows the finger with real shaft flex. Styles one and two were deleted outright once the later ones proved better — keeping a bad option in a settings menu is not generosity, it is indecision.

The lesson that generalises: "it feels janky" is a symptom, not a diagnosis. Twice it turned out to be a specific, findable bug wearing a design problem's clothes. Rewriting the mechanic would have thrown away a good idea; measuring it found the actual fault in minutes.

03The Ball

The ball does not use Unity's rigid-body physics. Flight is a custom fixed-step integrator, which was the right call for three reasons: it is deterministic, it is tunable in terms a golfer understands, and it lets the game be arcade-leaning on purpose rather than by accident.

It models gravity, air drag, Magnus lift from backspin for carry, side-spin for shot shape, and wind. On the ground it bounces with restitution and friction that vary by surface, then rolls to a stop. Spin survives the bounce — backspin bites and checks up, topspin kicks forward — which is what makes a wedge shot read as a wedge shot.

Surfaces are a painted grid rather than a pile of colliders. The terrain carries a map of surface types, and the ball queries it at its contact point: tee, fairway, green, rough, deep rough, sand, cart path, water. Each one modifies the power that leaves the club face and how the ball behaves once it lands. Standing in a bunker genuinely costs you distance, and the HUD tells you how much before you swing.

Calibration was done by measurement, not by feel alone. The driver carries about 236 yards against a 240 target, the seven iron 150 against 150, the sand wedge 85 against 85, with apex heights and hang times recorded for each so later changes could be checked against a known-good baseline. Once the flight was approved it was frozen, and every subsequent change had to justify itself against those numbers.

A ball in flight with the trace line and the launch monitor overlay showing club speed and smash factor
Fig. 1The launch monitor only appears while the ball is moving — club speed, smash, spin, and where on the face you struck it.

That smash-factor number is real, not decoration. It is derived from the club's loft and how far from the centre of the face the strike landed, so the same miss that moves the red dot on the face diagram is what drags the number down. A putter reports 1.00 by construction, and the whole launch-monitor panel hides itself on a putt rather than showing meaningless figures.

04Holes as Data, Not Code

The first hole was built by a bespoke script — a four-hundred-yard par-4 dogleg with a pond at the elbow, bunkers guarding the green, a cart path, and a contoured green with a real cup cavity cut into the mesh. It worked, and then I reviewed it honestly and rejected the art: no defined borders between bunker, green and path, bad water, bad planting. The green was too flat to putt on.

The important decision was what to do about it. Not polish the one-off script — replace the approach. Holes became data: a specification describing the routing, the surfaces, the planting and the hazards, fed through one shared builder that generates the terrain mesh, paints the surface map, cuts the green and the cup, and scatters the dressing. All six course holes and both practice grounds are now specifications running through that same builder.

The payoff is leverage and the cost is blast radius, and both are real. Improving the builder improves every hole — but only when each one is rebuilt, and a change that fixes one hole can quietly break another. So every build runs an automated review before it saves: seven measured checks with pass thresholds, covering the things that are easy to get subtly wrong and hard to see, like whether the playable corridor actually stays walkable and whether surface transitions land where they should. Nothing ships without passing it.

Aerial view of a generated golf hole showing fairway, pond, stream, bunkers and cart path with carry distances
Fig. 2A whole hole from one specification — and the aerial view doubles as the player's planning tool, with live carry distances.

The green deserves its own mention. It is a separate finer mesh with a gentle two-axis contour and a genuine cup cavity cut into the geometry rather than a decal, with a white liner ring. The putting view overlays a slope-reading grid, and the distance readout switches from yards to feet automatically once you are on the surface — small, but it stops the game contradicting the number it just gave you.

The tee view with the full gameplay HUD and the driver addressed to the ball
Fig. 3The tee — every number on screen is live game state.
The putting view with the slope grid displayed and the distance shown in feet
Fig. 4On the green — slope grid, feet instead of yards, and a real cup cut into the mesh.

05From Design Handoff to Interface

The interface was not improvised. Each screen started as a design handoff — a specification document plus an HTML and CSS prototype of the intended look and behaviour, with colours, type, spacing, radii and shadows treated as final. Those handoffs were then rebuilt properly in Unity's UI Toolkit, wired into the real game state. The prototype was a reference, never something to port line by line.

The main menu, the gameplay HUD, the club-face impact diagram, the scorecard and the entire store all came through that pipeline. The programmatic UI they replaced was deleted rather than left lying around.

Two problems from that work are worth recording because they are the kind that only appear on real devices. The first is scaling. The standard "scale with screen width" approach only solves tall phones; on a 4:3 tablet held in portrait it leaves far less height than the layout needs and the bottom of the menu falls off the screen. The fix was a custom scaler that takes the smaller of the width and height ratios, plus two height breakpoints that trade vertical air away on short screens. It was verified across four aspect ratios with nothing clipped.

The second is that the menu's background is not a picture. It is a recorded flythrough of one of the game's own holes — four slow hand-keyed camera moves rendered off-screen frame by frame and cross-dissolved into a seamless loop, with the tail dissolved back into the head so it never visibly restarts. A painted still covers the gap until the first video frame decodes, so the menu never flashes empty.

The Poly Golf main menu with profile, currency, mode carousel and store navigation over a live course backdrop
Fig. 5The main menu — the backdrop behind it is live video of the game's own Desert Dunes hole.
Fig. 6A section of the menu backdrop loop — rendered off-screen from the game itself, not captured by hand.
The course selection screen listing Willow Creek, Sunset Pines and Desert Dunes
Fig. 7Course select.
The practice selection screen showing the driving range and putting green
Fig. 8Practice grounds.
The scorecard overlay showing score to par, putts, greens in regulation and the hole-by-hole card
Fig. 9The scorecard on hole-out.

06Where AI Stopped and Blender Started

This is the section I would point to if someone asked me what the real limits of AI-assisted production are right now.

Most of the game's art is generated or procedural, and that works well. The terrain meshes are built from code. The trees, rocks and shrubs came from generated low-poly kits. The menu's gradients, vignettes, currency discs and soft shadows are baked by an editor script, so changing a palette value and re-running regenerates all of them. The club-face impact diagrams are rasterised from production SVGs by a small purpose-built renderer, which means the art has a source and regenerating it is a command rather than a redraw.

The clubs were the exception, and I modeled all of them myself in Blender. Every image and mesh generator I tried failed on them in the same way. A golf club is an object people have looked at closely their whole lives: the exact curve where the hosel meets the blade, the offset of the leading edge, the way a driver's crown falls away from the face, the proportion of head to shaft. Generators produce something that reads as "golf club" at a glance and then falls apart the instant the camera sits behind it at address — which, in a golf game, is almost all of the time. They also could not hold the one thing that actually matters mechanically: a correct, consistent face plane and loft, which is the surface the whole swing animation and strike model is built around.

So the driver, the iron, the wedge and the putter are hand-modeled: head, hosel, shaft and grip, built to real proportions against reference photography, exported to the engine and used as the actual in-game clubs. The shaft and grip materials, the blade's loft, the putter's flange — all authored. It is perhaps a day of work in total, and it is the difference between a game that looks generated and a game that looks made.

The driver, iron, wedge and putter models lined up against a neutral background
Fig. 10The four clubs I modeled in Blender, rendered from the engine's own imported assets.

The same boundary showed up in branding. The Poly Golf logo, the ball icons, the UI iconography and the surface palette guide were all drawn in Illustrator, because a brand mark needs an editable vector source that can be re-cut at any size — and because deciding what a thing should look like is still a design judgement, not a prompt.

One other asset class stayed hand-built for a mechanical reason: the club-face artwork is shipped as production SVGs and explicitly must not be redrawn, because the impact coordinate frame — where the red strike dot lands — depends on that exact geometry. A left-handed player gets the same drawing mirrored rather than a second drawing, and the marker is a sibling of the artwork rather than a child, so mirroring the face never carries the dot across with it.

07The Pro Shop

The store is a full screen set — clubs, bag, balls and wallet — built from its own design handoff and layered over the menu rather than living in a separate scene.

The design decision I am most pleased with is that clubs are generated, not authored. The catalogue is a table of six brands multiplied by a table of twenty-one lofts, which makes "every loft offers the same brands" a structural guarantee instead of a thing somebody has to remember while adding content. Add a brand and you get one new club in every loft. Add a loft and you get a new subsection with the full roster already in it. That is 126 clubs from two small tables, and it is the difference between content work and data entry.

Two places I deliberately departed from the handoff. The design had five navigation tiles with coins and tickets separate; they were always conceptually one page, so they merged into a single wallet. And the design swapped a club's stat bars for a description once you owned it — which meant the top row became the only one a player could actually compare. Every row now shows distance and forgiveness whether you own it or not, because the entire purpose of a store screen is comparison.

The Pro Shop clubs screen listing drivers with distance and forgiveness bars
Fig. 11Pro Shop — clubs.
The Pro Shop bag screen showing club slots
Fig. 12Pro Shop — the bag.
The Pro Shop wallet screen showing coin and ticket bundles
Fig. 13Pro Shop — the wallet.

Currency, ownership and progress are stored in a signed, device-bound save, so editing the file by hand invalidates it rather than granting free clubs. There is exactly one piece of code permitted to write it. Purchases themselves are stubs — no real money moves — but the economy around them is real enough to be worth protecting.

08What It Plays Like Now

Both clips below are captured from the game running in the editor at a locked frame rate, so they are the real thing at real speed rather than a sped-up reel.

Fig. 14A tee shot — the club whips through, the camera holds at impact then chases, and the trace line and yardage counter run with the ball.
Fig. 15Holing out — the putt drops, the HUD strips itself back, and the scorecard comes up.

A few behaviours in there took real effort and are easy to miss. The camera holds for a beat at impact before chasing, because cutting instantly makes the strike feel weightless. Scenery between the camera and the ball ghosts to half opacity while the ball is at rest, then snaps back to full the moment it is struck — a flying ball is its own read on where it is, and scenery flickering as it passes behind is worse than briefly losing sight of it. And the HUD hides itself entirely while the ball is moving, because the stopped-state numbers are meaningless mid-flight and the launch-monitor numbers are meaningless at rest.

09How AI Actually Built This

Nearly all of the C# in this project was written by large language models. What I brought was the design, the physics and feel judgement, the review, and — crucially — the written record.

The practice that made it work was keeping a specification document that every session reads before it writes anything. It holds the confirmed design decisions, the calibration numbers, the art direction, the build status, and a dated entry for every milestone describing what was built and which traps were hit. It has grown to well over a thousand lines. That document is why a new session does not re-derive decisions I already made, re-break bugs I already fixed, or quietly undo a tuning pass. Separate authoring guides cover the hole builder's invariants — rules that each cost a visible bug to learn.

I also split the work by model. Design, physics tuning and review ran on the strongest model available; the long mechanical build grind — meshes, wiring, screens — ran on a cheaper one, with every decision persisted back into the spec so the handoff cost nothing. That is a mundane operational detail and it roughly doubled what I could get done.

The honest summary of the limits: these models are extraordinary at turning a precise description into working code, and they cannot tell you that a swing feels wrong. Every one of the six swing redesigns started with me playing it and saying something was off. Every piece of art direction, every decision about which handoff instruction to follow and which to overrule, and the entire judgement that the club models had to be made by hand — none of that came from the tool. The tool made all of it possible to act on in an afternoon instead of a month.

10Status & What's Next

Poly Golf is marked In Progress, and that is an accurate description rather than a hedge. It builds and runs on an Android device today: six holes, two practice grounds, the full swing and putting loop, scoring, the Pro Shop, menus and the store economy all work. What it is not yet is finished — it has no audio pass, no release art, and the stub screens are still stubs.

The work queued up, roughly in the order I would do it:

  • Sound. There is currently none, and it is the single biggest gap between how this plays and how a shipped mobile golf game feels. Strike, bounce, roll, the ball dropping in the cup, and menu feedback.
  • A real art pass on the holes. The generated terrain and planting are good enough to play on and not yet good enough to sell. The builder is the right place to fix it, so every hole improves at once.
  • Progression that means something. The economy exists and clubs can be bought, but the loop that earns coins from playing well needs tuning before it is a reason to come back.
  • More courses. Holes are data now, so a new course is a set of specifications rather than a new build — this is the cheapest content in the project and the most obvious thing to add next.
  • On-device performance tuning. It has been validated in the editor far more than on a range of real handsets, which is where mobile games actually get decided.

Every screenshot and clip on this page is captured from the live build, not mocked up. The game is a personal project and is not published; the stubbed membership, purchase, multiplayer and leaderboard screens are deliberately non-functional.