A simple minmax search for tic tac toe. To use the minmax search, run the “minmax board state” block with a board state table.
what I plan to do is make the search work for other tic tac toe variants, although for that I might need an evaluation function instead of minmax.
There’s a strange issue that sometimes happens with multiple open spaces, where it gets stuck. Feel free to help out with this!
Yes, this was inspired by @macrabbit’s tic tac toe AI.