Cho bác nào muốn fix : If(obstacle_in_front [unclear word] and random ){ advance(1) } else { if(random) { right # meaning right direction if(obstacle_in_front) { left left } } else{ left if(obstacle_in_front ) { right right } } advance(1)