X-RISKERS AND OPTI-MISERS

Choose your player

X plays first

Its interesting to note how the minimax algorithm awards a higher utility for paths that lead it to having more ways to win, resulting in it seeming to miss a chance to finish the game, only to reveal with the next move, rather annoyingly, that it now has 2 options to win, and theres nothing you can do. I wonder how this plays out when scaled up to bigger games. It shows how very simple rules like this can lead to non-human-like but ultimately effective and powerful outcomes.




How does it work?

Its very very simple. Each move is like a window. Through each window you can look at what moves your opponent could make. Naturally you will pick the one thats best for you (and worst for them). Thats it. You just take that image and apply it to each of the moves your opponent made, with them looking through a window at your moves, but this time with their interests at heart, so they picked the one best for them. This carries on untill the final move in that particular path, which will either be a win for you or the opponnent, clearly informing your last but one move...and so on up. So the same small piece of logic can be used for both players, just alternating. The way the computer understands this is to first assign a value to a win for each player - high for one (the maximizer) and low for the other (the minimizer). Then each move is easily assessed by what score it leads to.