A.I.ware

Copyright P. Baillehache , 2017, Statistics, Documentation.
- Rules -
The game of Oware is a game among the Mancala family board games. It has many variants and many names as it has been played all around the world for hundreds of years. A.I.ware is an online version of this game where the human player can play against an artifical intelligence. The rules and how to play are explained below.
The game is played between two players (the Human and the A.I.) with a board and 48 stones. The board has 12 holes divided into 2 lines. The 6 holes on the top line are the A.I. territory. The 6 holes on the bottom line are the Human territory.
To start a new game, select the level of the A.I. (beginner, easy, intermediate, strong) and click "Start a new game". The 48 stones are distributed into the 12 holes, 4 stones per hole.
Players play one at a time. The current player is displayed below the board. The current player chooses one hole containing stones in his territory. Stones in the chosen hole are moved into the following holes, one stone per hole, in a counter clockwise order. To select a hole, click on it and it will display below the board the number of stones inside. To play this hole, click on it a second time.

When the last moved stone arrives in a hole of the opponent's territory where there are already 1 or 2 stones, the current player captures all the stones in this hole (2 or 3 including the moved stone). Then, if the previous hole contains 2 or 3 stones, they are captured too and so on until we reach a hole with a number of stones different from 2 or 3 or go out of the opponent's territory.


If the current player chooses a hole with more than 11 stones, the distibution of stones will loop back to the starting hole. In this case the starting hole is jumped over and the distribution continues with the next hole.

The game ends when one player has captured at least half of the stones (25 stones or more), with that player winning.
Special case 1. If the current player has no more stones in his territory, the opponent automatically captures all the stones in its own territory and the game ends.
Special case 2. If the current player captures at once all the stones in the opponent's territory, he/she immediately loses the game.
- Settings -
Display number of stones in holes: no
Speed of animation: