Skip to content

swingalytica/gust

Gust — G[olf Games in R]ust

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.

Installation

npm install @swingalytica/gust

Games

  • 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)

Usage

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");

License

AGPL-3.0 — see LICENSE. Commercial licensing: info@swingalytica.com

About

Golf games engine focused on Golf Training Engagement and Fun

Resources

License

AGPL-3.0, Unknown licenses found

Licenses found

AGPL-3.0
LICENSE
Unknown
LICENSE-EXCEPTION

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Contributors