Minimax still buggy. It only blocks some of the opponent's winning moves instead of all of them. When I switch the "max" method to "min" one test will pass, but another fails and vice versa.