效果如图,完成了贪吃蛇的基本的功能
代码地址 :https://github.com/my-new-git-hub/canvasSnake.git
预览地址:https://www.kzc275.top/#/game