Developer builds ML-powered Mancala bot to solve game's player-one bias problem

A developer has built a machine learning bot for Mancala as part of a personal traditional games website aimed at older players, a project previously shelved due to time and skill constraints. The site uses a custom variant of Mancala with randomised stone placement to reduce the game's inherent player-one bias, which caused roughly 75% of tournament matches to be decided before play began. To train the bot, a Python-based game simulator using NumPy was built, allowing a neural network to repeatedly play against itself and improve over time. A 15% randomiser was incorporated into training so the bot occasionally makes non-optimal moves, exposing it to a wider variety of board positions. The developer credits agentic coding tools with finally making the project feasible by combining improved personal skills with AI-assisted development.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in