Settings

Theme

Winning Connect4 with Monte-Carlo Tree Search

steveindusteves.com

4 points by forks 2 years ago · 2 comments

Reader

bediger4000 2 years ago

I've found MCTS works very well with turn taking board games:

https://github.com/bediger4000/squava2/blob/main/algorithm-c...

https://github.com/bediger4000/kalah

Seems faster than an alpha-beta minimaxing opponent of the same strength, and also typically a less predictable opponent.

  • saolsen 2 years ago

    Nice that's cool. I kind of worked backwards for this because I wanted to try MCTS so I picked connect4 because I thought it'd be a good game for it. I'm hoping to play some more games soon and try some other approaches. Kalah is a good one.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection