Finished minimax.