snack-Ts 基于typescript完成的贪吃蛇小游戏 项目环境 npm i 启动项目 参考项目文件夹下 package.json 文件,其中的script对象。 npm start 编译打包 npm run build