Gust is a free Open Source golf games engine focused on Golf Training Engagement and Fun.
Gust is in early development. The API is not stable yet and may change without a major version bump.
npm install @swingalytica/gust- 4Winning — Connect Four on distance zones
- Exact — Consistency and repeatability (coming soon)
- Precision — Get as close to the target as possible (coming soon)
- Sinking Ships — Battleship on the range (coming soon)
import init, { FourWinning } from "@swingalytica/gust";
await init({ module_or_path: wasmUrl });
const game = new FourWinning();
game.add_player({ id: "1", name: "Player 1", color: "#e74c3c", pos: 0, data: [] });
game.generate_game_board(10, 276, "m");
game.start(new Date().toISOString());
game.click_cell("a1");AGPL-3.0 — see LICENSE. Commercial licensing: info@swingalytica.com