Adds minimax for unbeatable ai