贪食蛇练习

目录结构

snake
├── package-lock.json
├── package.json
├── src
│   ├── index.html
│   ├── index.ts
│   ├── moduls
│   │   ├── Food.ts
│   │   ├── GamaControl.ts
│   │   ├── ScorePannel.ts
│   │   └── Snake.ts
│   └── style
│       └── index.less
├── tsconfig.json
└── webpack.config.js

核心文件

配置文件