Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic


Annette Schaffer
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hallo Newsgroup,

I try to develop a boardgame that is similar to Gobang. Two players try to get 5 of their chips in a row on the gameboard. The computer's moves have to be calculated by using an Alpha-Beta-Algorithm and this is where I'm stuck. I can't get my mind around this algorithm, I also tried an easier Min-Max-Algorithm, but it also isn't working.

Does anyone has a working example of one of these algorithms in java-code? Maybe with evaluation function and for a similar game?

Thank you so much for your help!

Greetings from Germany,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic