You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem with the indentation of one line in snake. The indentation in the code allows the snake to leave a piece of its body in place after eating the food.
snake中有一句缩进存在一些问题,代码中的缩进方式会使得蛇在吃下食物后在原地也留下自己的一块身体。