Skip to content

Comment on Winning Connect4 with Monte-Carlo Tree Search

Comments

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.

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.