Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 24 min ago
PreprintCC BY 4.0arXiv

Sowing the Seeds of Intractability: Kalah is PSPACE-complete

Abstract

Kalah is a classic two-player game in the mancala family of sowing games. Computers have solved several standard-size starting positions, but the complexity of the game on boards of growing size has remained open. We study the natural generalization in which the number of pits per side is part of the input and an arbitrary position is given, with the stone counts given in unary. We show that deciding whether a designated player can force a win from such a position is PSPACE-complete. The hard positions have Alice to move first and both stores initially empty. The same positions are hard under either common convention for capture opposite an empty pit, and with or without the bonus rule, which gives a player another turn when the last stone is sown into their own store. We introduce Line Kalah as an intermediate problem, a game on a line in which stones that leave the line effectively disappear and Alice must save each of her target pits before Bob captures it, and we reduce quantified Boolean formulas to it. The reduction uses a set of sequential timer piles whose last stones approach a group of targets, forcing Alice to choose between two captures in order to set the truth value of a variable, and a final capture gadget to test a clause chosen by Bob (only one is needed adversarially). Since either player may move any pile at any time, the stages are placed so that premature timer firings protect earlier potential targets. For a true formula, Alice's strategy against arbitrary opposing play either gains enough time to save the remaining targets (after Bob deviates from the intended play) or reaches the final test with a correctly encoded, protected input. Finally, the line positions are embedded in Kalah with both stores empty. A separate Bob pit holds the score adjustment, so the winner takes a strict majority of the stones.

Related

  1. Arc Kayles is PSPACE-complete
    Édouard Bonnet
    arXivPreprintarXiv licenceFull textCombinatorics & discrete mathematicsarXiv
  2. Planar PArcK is PSPACE-complete
    Craig Tennenhouse, Kanae Yoshiwatari
    arXivPreprintarXiv licenceFull textCombinatorics & discrete mathematicsarXiv
  3. Winning and losing NoGo is PSPACE-complete
    Kyle Burke, Alfie Davies, Craig Tennenhouse
    arXivPreprintCC BY 4.0Full textCombinatorics & discrete mathematicsarXiv
  4. The Two-Level Poset Game is PSPACE-Complete
    Kengo Hashimoto
    arXivPreprintarXiv licenceFull textCombinatorics & discrete mathematicsarXiv
  5. A note on the intractability of enumerating the maximal satisfiable subformulas of a Horn expression
    Oscar Defrain, Corentin Jazeron, Kazuhisa Makino
    arXivPreprintCC BY 4.0Full textCombinatorics & discrete mathematicsarXiv
BibTeX
@misc{dickey2026sowing,
  title = {{Sowing the Seeds of Intractability: Kalah is PSPACE-complete}},
  author = {Ethan Dickey and Ethan Mader},
  howpublished = {arXiv},
  year = {2026},
  month = nov,
  doi = {10.48550/arxiv.2611.17252},
  eprint = {2611.17252},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.17252},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - Sowing the Seeds of Intractability: Kalah is PSPACE-complete
AU  - Ethan Dickey
AU  - Ethan Mader
PY  - 2026
DA  - 2026/11/12
PB  - arXiv
DO  - 10.48550/arxiv.2611.17252
UR  - https://arxiv.org/abs/2611.17252
AB  - Kalah is a classic two-player game in the mancala family of sowing games. Computers have solved several standard-size starting positions, but the complexity of the game on boards of growing size has remained open. We study the natural generalization in which the number of pits per side is part of the input and an arbitrary position is given, with the stone counts given in unary. We show that deciding whether a designated player can force a win from such a position is PSPACE-complete. The hard positions have Alice to move first and both stores initially empty. The same positions are hard under either common convention for capture opposite an empty pit, and with or without the bonus rule, which gives a player another turn when the last stone is sown into their own store. We introduce Line Kalah as an intermediate problem, a game on a line in which stones that leave the line effectively disappear and Alice must save each of her target pits before Bob captures it, and we reduce quantified Boolean formulas to it. The reduction uses a set of sequential timer piles whose last stones approach a group of targets, forcing Alice to choose between two captures in order to set the truth value of a variable, and a final capture gadget to test a clause chosen by Bob (only one is needed adversarially). Since either player may move any pile at any time, the stages are placed so that premature timer firings protect earlier potential targets. For a true formula, Alice's strategy against arbitrary opposing play either gains enough time to save the remaining targets (after Bob deviates from the intended play) or reaches the final test with a correctly encoded, protected input. Finally, the line positions are embedded in Kalah with both stores empty. A separate Bob pit holds the score adjustment, so the winner takes a strict majority of the stones.
ER  -