PDA

View Full Version : PSPMancala: Mancala Game for the PSP v1.01



zx-81
December 23rd, 2006, 13:28
http://zx81.zx81.free.fr/images/pspmancala-snap-1.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". PSPMancala
is the "Awari" variant, and even if the rule of this game is simple, the complexity
can be compared to chess Game.

It has been developped on linux for Firmware 1.5 and i hope it works also
for 2.x using the great eloader (0.99x) from http://www.noobz.eu/.

The AI is based on the source code of H. Huseby & G.T. Lines, for their
implementation of the classical Minimax algorithm.

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 PSPSDK developpers.

Enjoy, and Merry Christmas, :)

Zx.

PSPKOR
December 23rd, 2006, 14:19
Cheers Zx, I'm liking all these little board games your doing at the moment, there realy good for the PSP.

Merry Christmas and a happy new year to you too Zx :)

gunntims0103
December 23rd, 2006, 14:24
Iv never heard of this one but iv got to try it. Thanks for doing some really cool board games for us zx-81 :D

ab88
December 23rd, 2006, 16:09
This is my favorite board game :) nice to see a port

zx-81
December 23rd, 2006, 16:22
This is my favorite board game :) nice to see a port

this is not a port lol ... i've done it from zero ! this only thing i took is the simple minmax algorithm, because i didn't want to loose two hours te re-code it, when it has been already done thousand times :)

gunntims0103
December 23rd, 2006, 16:25
this is not a port lol ... i've done it from zero ! this only thing i took is the simple minmax algorithm, because i didn't want to loose two hours te re-code it, when it has been already done thousand times :)

O from scratch, i was wondering why you didnt have the GNU in your post or a link to the source. Really nice work zx-81:)

zx-81 the king of emu's and board games :D

zx-81
December 23rd, 2006, 16:27
O from scratch, i was wondering why you didnt have the GNU in your post or a link to the source. Really nice work zx-81:)

zx-81 the king of emu's and board games :D

Thanks :).

The code is available under GNU license, like most of all things i've done :)

eLAy12
December 23rd, 2006, 16:43
I was wondering when someone was going to port this game. I've kinda been waiting for it.

samthegreat68
December 23rd, 2006, 21:05
sahhweet! if 2 player were implement that would be awesome! thanks zx i have some good memories with this game.

IamAbe
December 24th, 2006, 07:28
sweet, haven't played this in a while. downloading now!!!

edit:
just tried it, GREAT WORK! i play by different rules tho, you should make it so you can switch between different rules. also wheres the big containers at the ends? well done, hope you release an update soon. keep it up.

zx-81
December 24th, 2006, 09:26
sweet, haven't played this in a while. downloading now!!!

edit:
just tried it, GREAT WORK! i play by different rules tho, you should make it so you can switch between different rules. also wheres the big containers at the ends? well done, hope you release an update soon. keep it up.

Yes, i've coded the version i know, i mean the french version called "Awelé". There are many different rules, but you're right, it could be cool to be able to toogle between the different versions :).

zx-81
December 24th, 2006, 09:26
sahhweet! if 2 player were implement that would be awesome! thanks zx i have some good memories with this game.

You can play with two players (but on the same PSP).

:)

dejkirkby
December 24th, 2006, 09:32
zx-81, you never fail to surprise and impress. Well done, sir. Well done.

zx-81
December 29th, 2006, 12:26
thanks :)