MKEReversi

Download
MKEReversi is my implementation of the game of Reversi for Symbian OS.

As most of my apps, for me it’s something like a concept/learning application – this time I was learning programming for Symbian (awfull stuff… at least with the IDE I’m using now…).

Application supports both Player vs. Player and Player vs. AI games.

As for the AI, there are 4 to choose from:

1) Plain – brute force that tries to achieve the best possible result in the next move

2) Greedy – searches through a few levels of the game tree to choose a move that opens a possibility of the greates gain

3) Cautious – searches through a few levels of the game tree to choose a move that seems to minimize potential loss

4) Balanced – combination of the Greedy and Cautious AI

The loss and gain is measured by the number of red vs. blue pawns, but it’s also tweaked a little based on who occupies corners of the playing field. Nothing too elaborate, but works pretty fine. Still, given the possible depth of the search tree it’s not a match for an experienced player…

It was tested on Nokia N95 and ran fine (apart from the lack of application icon), but it should work on any Series60v3 phone.

You can download it here

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

 
%d bloggers like this: