mgerdes/Open-Golf
FreeA cross-platform minigolf game written in C.
FreeFree tier
About mgerdes/Open-Golf
Open-Golf is a free, open-source cross-platform minigolf game written in C. It uses the Sokol libraries for 3D graphics and audio across multiple platforms, includes custom physics for collision detection and response, and features an in-game editor for modifying terrain and running scripts to generate geometry. The game supports Windows, Linux, macOS, iOS, Android, and HTML (via WebGL). Lightmaps are generated using Lightmapper and xatlas, and the project is available under the MIT license.
Key Features
Cross-platform support for Windows, Linux, macOS, iOS, Android, and HTML (WebGL)
Custom physics engine for accurate collision detection and response
In-game editor for terrain modification and geometry generation via scripts
Built with Sokol libraries for cross-platform 3D graphics and audio
Lightmap generation using Lightmapper and xatlas, including for moving objects
ImGui for debugging and in-game tools
Available on iOS App Store and Google Play Store for easy installation
Pros & Cons
Pros
- Free and open source under the MIT license
- Runs on a wide variety of platforms including mobile and web
- Includes a built-in level editor for customization and rapid iteration
- Lightweight and written in C with minimal dependencies
- Available on official app stores for mobile devices
Cons
- Limited to minigolf, not a full golf simulation
- Graphics are functional but not high-end compared to commercial games
- Desktop platforms require manual compilation from source for non-binary users
- Web version works best in Chrome (per the project description)
Best For
Playing minigolf on desktop, mobile, or web browsersLearning game development techniques in C (physics, graphics, cross-platform)Modifying and creating custom golf holes using the built-in editorExperimenting with lightmapping and procedural geometry
FAQ
What platforms does Open-Golf support?
Open-Golf supports Windows, Linux, macOS, iOS, Android, and HTML (web, via WebGL).
Is Open-Golf free?
Yes, it is completely free and open source under the MIT license.
How can I build Open-Golf on Linux?
Run ./build/build-linux.sh to compile, then start the game with out/linux/golf.