Kalah game implementation using actors
Example kalah game implementation using Micronaut, RuleBook and Quasar Actors.
GameActor
. After that for each game-related action is routed to corresponding GameActor
.com.serdarormanli.kalah.rules
package.application.yaml
.localhost:8080/kalah
by default./kalah POST
creates new game returns board. Takes numberOfPitsPerPlayer
and numberOfStonesPerPit
as optional query parameters./kalah/{gameId} GET
returns latest snapshot of game./kalah/{gameId}/indexOfPit/{indexOfPit} POST
picks stones and distributes. Returns latest snapshot of the game.localhost:8080
by default.⚠️ This application requires Java 11 for build and run. Newer Java versions are not supported. ⚠️