Writing an AI for a turn-based board game

Posted by Cyril on Stack Overflow See other posts from Stack Overflow or by Cyril
Published on 2010-12-28T22:18:42Z Indexed on 2011/01/05 22:54 UTC
Read the original article Hit count: 150

Hi,

i'm currently programming a board game (8x8) in which I need to develop an AI.

I have read a lot of articles about AI in board games, minmax with or without alphabeta pruning, but I don't really know how to implements this, I don't know where to start...

About my game, this is a turn-based game, each player has pieces on the board, they have to pick one and choose in moving this piece (1 or 2 cells max) or clone the piece (1 cell max).

At the moment, I have a really stupid AI which choose a random piece then choose a random move to play...

Could you please give me some clues, on how to implement this functionality ?

Best regards

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c