Skip to content

small problem #1

Description

@NatureChaser

a small problem

  • 在计算到墙的距离公式中,您写的是
self.ldis_wall = ((self.x-self.ldis_pos[0])**2+(self.x - self.ldis_pos[1])**2)**(1/2)
  • 我觉着可能是笔误了?
  • 后一个应该是self.y吧,然后我改了之后带进去,发现第一次就跑道终点了/笑哭/笑哭
  • 整个思路真的赞,给了我课程作业的启发,感激不尽
  • /点赞 /点赞

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions