How to implement Pentago AI algorithm

Posted by itsho on Stack Overflow See other posts from Stack Overflow or by itsho
Published on 2010-12-30T17:50:55Z Indexed on 2010/12/30 17:53 UTC
Read the original article Hit count: 126

Filed under:
|
|

Hi, i'm trying to develop Pentago-game in c#.

right now i'm having 2 players mode which working just fine.

the problem is, that i want One player mode (against computer), but unfortunately, all implements of minimax / negamax are for one step calculated.

butin Pentago, every player need to do two things (place marble, and rotate one of the inner-boards)

I didn't figure out how to implement both rotate part & placing the marble, and i would love someone to guide me with this.

if you're not familiar with the game, here's a link to the game.

if anyone want's, i can upload my code somewhere if that's relevant.

thank you very much in advance

© Stack Overflow or respective owner

Related posts about c#

Related posts about game-development