A Monte Carlo simulator, using Gale's Algorithm to determine the winner of a Hex game, based on the difference of the stone played on a single cell.
This is a random turn Hex game.
There are two implementations in this repository. The first was written in Python, by pgadey. The second is written in Go, by nesv. I forked the repo from the repository of nesv, which contains both. I am working with the Python version only.
The core functions are not changed, but extended to keep track of more variables in order to implement a new, more efficient algorithm to find the critical score for each cell. The cell with the highest score is the pivotal one.
The simplest strategy to get the critical score map is to create
In the new strategy, for each random board there are only two Gale algorithm evaluations.
One from the top left corner,
Finally, our goal is to play a compound game. The the first game, consisting of
This is a project with my husband, Alan.