edit: determine next move.