end of night --- animate function and andom move changed