mancala/packages/mancala.js/src
Halit Aksoy 27f13e2f9a fix(mancala.js): skip the opponent's store when sowing
Mangala skips the opponent's store, but Board.move dropped a stone in
every pit and store. Moves with enough stones to pass it gave the
opponent a stone and ended one pit too early, so captures and extra
turns were decided on the wrong pit.

Board.getSowingPath now computes the pits a move sows into, and
Board.move and core's getSowingPath (the web board's move preview)
both use it. Game step indexes are now always within the board.
2026-10-16 10:48:19 +03:00
..
common (refactor) change folder structure 2024-06-18 01:11:26 +03:00
core fix(mancala.js): skip the opponent's store when sowing 2026-10-16 10:48:19 +03:00
index.ts (refactor) change folder structure 2024-06-18 01:11:26 +03:00