Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Alpha-Beta-Algorithm  RSS feed

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,
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!