Putt Party - HTML5 Mini Golf Source Code
A downloadable asset pack
A top-down mini golf game in ONE file (index.html): plain JavaScript + Canvas 2D, no engine, no build step, no external files. About 17 KB.
Play it free first: https://chiarly6.itch.io/putt-party
What's inside
- 27 holes on 3 courses (Meadow, Dunes, Neon), all stored as plain data in
HOLES - Walls, sand, water (+1 stroke), bumpers, moving blocker, ice, boost pads and portals
- Fixed-step physics (1/240 s) so it plays the same at any frame rate
- Par per hole, birdie/eagle/hole-in-one callouts, full scorecard at the end
- Round progress and best score saved in
localStorage(continue where you left off) - Synth sound effects with WebAudio (no audio files)
Reskin in 10 minutes
- Title / text: "PUTT PARTY" and "TEE OFF" in
menu(), course names inCOURSES, score callouts insunk(), and "ROUND DONE" infinish(). - Colors: the drawing colors in
draw()(grass#4cb86a, border#6b4a2b, sand#ecd49a, water#3a9bdc) and the CSS at the top (background#1d3b2a, accent#ffd84d). - Difficulty / levels: edit or add holes in
HOLES(par,tee,cup,walls,sand,water,mover,bump,ice,boost,portal); tuneR(ball) andHR(cup) at the top, shot power in thepointeruphandler, and friction inphysics().
Ready for game portals
All ad calls go through one small Portal object. The pack also has ready-made builds wired to the CrazyGames, GameDistribution and GameMonetize SDKs (pause and mute during ads). Add your own game ID, zip and upload.
License
Use it for one game of your own, free or commercial. Do not resell or share the source. See LICENSE.txt.
Made with AI-assisted code by Chiarly.
| Published | 18 days ago |
| Status | Released |
| Category | Assets |
| Author | Chiarly6 |
| Tags | Asset Pack, Golf, html5, javascript, sourcecode, Project template |
| AI Disclosure | AI Assisted, Code, Text |
Download
This asset pack is currently unavailable

Leave a comment
Log in with itch.io to leave a comment.