Made optimal move for both sides