mancala/apps/backend-quarkus/src/main/java/app/playmancala/engine/GameRule.java
Halit Aksoy f0ffd6ba87 feat(backend): add the Quarkus project with a Java port of the engine
Quarkus 3.40 on Java 25, built with the Maven wrapper. The engine is a
line-by-line port of packages/mancala.js; a parity test replays games
recorded with the TypeScript engine, including illegal moves, and
compares every board, turn, error and the game JSON.
2026-10-16 11:06:43 +03:00

13 lines
268 B
Java

package app.playmancala.engine;
public interface GameRule {
default void onGameMoveStart(MancalaGame game, int index) {
}
default void onGameMove(MancalaGame game, int index) {
}
default void onGameMoveEnd(MancalaGame game, int index) {
}
}