How do i start with Gomoku?

Posted by firstTry on Stack Overflow See other posts from Stack Overflow or by firstTry
Published on 2010-03-13T12:03:58Z Indexed on 2010/03/13 12:05 UTC
Read the original article Hit count: 402

Filed under:
|
|

I read about Gomoku that it can be implemented using Minimax and Alpha-Beta Pruning algorithms. So, i read these algorithms and now understand how the game will be solved. But when i sat to down to code, I am facing problem how to approach it.

As in ,

  • How to design the prototype functions like getNextMove or Max(Move) ?
  • How will the next move searched?
  • Till when should i apply the minimax algorithm.
  • I know i can find the code online, but i want to do it myself.

Can anyone please point me in the right direction?

© Stack Overflow or respective owner

Related posts about gomoku

Related posts about c