Aaaaand... minimax is working perfectly