/mancala-game

🧩 Mancala - 2-player turn-based strategy board game played with small stones built with React.js

Primary LanguageJavaScript

Mancala game

Mancala is a generic name for a family of two-player turn-based strategy board games played with small stones, beans, or seeds and rows of holes or pits in the earth, a board or other playing surface. The objective is usually to capture all or some set of the opponent's pieces.

Used algorithm for bot:

The player's score is calculated with simple heuristic: sum of stones in all player's cells.

How to run

  • Clone this repo
  • Run npm install
  • Run npm run start

Screenshots

Main view

Won view