As soon as I detect with what we'll call a condition if I'm touching the edge I have to essentially spin around 180 degrees and then continue looping.
一旦我检测到这种情况,当我碰到边界时,我需要转180°然后继续这一循环过程。
哈佛公开课 - 计算机科学课程节选
应用推荐
模块上移
模块下移
不移动