I want to simulate a randomly moving snake, but where are my mistakes?

前端 未结 0 780
醉酒成梦
醉酒成梦 2021-01-02 03:23

One unit per second (one row or one column depending on the direction of travel) on the screen, and I want to simulate a snake that grows by 1 character every 5 seconds.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题