Monday, October 11. 2010
Mancala is a board game familly, originated in East Africa. The word "Mancala" came from arabic word "naqalah" that means literaly "To move".
Dingux-Mancala is the "Awari" variant, and even if the rule of this game is simple, the complexity can be compared to chess Game.
The AI is based on the source code of H. Huseby & G.T. Lines, for their implementation of the classical Minimax algorithm.
The touch screen is supported, and there is a two players mode.
Thanks to Pedro De quintana for his help on Caanoo beta-testing !
How to use it ? Everything is in the README.txt file.
Sources are included, and this package is under the GNU public license, read COPYING.txt file for more information about it.
How to play ? Here is the rules available from awari.cs.vu.nl :
Awari is played on a board where each player owns 6 pits. In the initial position, all pits are filled with four stones, thus the initial position has 48 stones.
The player to move chooses one of its own, nonempty pits and removes all stones from the pit. The player then sows the stones, counterclockwise, over the remaining pits.
If the last stone is sown into an enemy pit that contains 2 or 3 stones after sowing, the stones are captured.
In this case, if the second last pit is also an enemy pit that contains 2 or 3 stones, they are captured as well, and this process is repeated clockwise, until the own pit, or an enemy pit containing less than 2 or more than 3 stones is reached.
The player who captures most stones, wins the game. The game end when a player cannot move, however, to avoid such a situation early in the game, it is not allowed to do a move that leaves the opponent without countermove, unless all moves eradicate the opponent.
Here is a full working binary version :
Here is the source code :
If you want to discuss on this homebrew, you can do it here :
My forum on dcemu network or http://www.gp32x.com/.
Display comments as (Linear | Threaded)