基于 TypeScript 的《坦克大战》的非标准实现. Yet another Battle City implementation with TypeScript.
https://github.com/songquanpeng/battle-city.git
| Key | Description |
|---|---|
| F11 | Enter fullscreen mode and reload the page |
| W | Move up |
| A | Move left |
| S | Move down |
| D | Move right |
| B | Redeploy |
| Space bar / Left mouse key | Fire |
| R | Reload the page |
| C | Remove all buildings |
| P | Pause or resume game. |
| 按键 | 描述 |
|---|---|
| F11 | 全屏并重新加载游戏 |
| W | 向上移动 |
| A | 向左移动 |
| S | 向右移动 |
| D | 向下移动 |
| B | 重新部署 |
| 空格键或者鼠标左键 | 开火 |
| R | 重新加载 |
| C | 清楚建筑物 |
| P | 暂停或继续游戏 |