Writing an AI for a turn-based board game
- by Cyril
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