PDA

View Full Version : GP2X-Mancala: A Mancala Game for GP2X v1.01



zx-81
April 7th, 2007, 09:29
http://zx81.zx81.free.fr/images/gp2xmancala-snap-v1.jpg

Hi All,

Mancala is a board game familly, originated in East Africa. The word "Mancala"
came from arabic word "naqalah" that means literaly "To move". GP2XMancala
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.

GP2XMancala is a port of my PSP version.

* Big big thanks to Julien who ported my PSP GnuGNO to GP2X *

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.

Special thanks to all GP2X-SDK developpers.

Enjoy,

Zx.

Nebetsu
April 7th, 2007, 20:47
Great job! I love this game! I have a mancala board myself! ^^