Skip to content

snake中蛇吃下食物后会在原地留下一段身体 #6

@dzxmxd

Description

@dzxmxd

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中有一句缩进存在一些问题,代码中的缩进方式会使得蛇在吃下食物后在原地也留下自己的一块身体。

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