📦 songquanpeng / battle-city

基于 TypeScript 的《坦克大战》的非标准实现. Yet another Battle City implementation with TypeScript.

28 stars 4 forks 👁 28 watching
battle-citygamejavascript-gametank-game
📥 Clone https://github.com/songquanpeng/battle-city.git
HTTPS git clone https://github.com/songquanpeng/battle-city.git
SSH git clone git@github.com:songquanpeng/battle-city.git
CLI gh repo clone songquanpeng/battle-city
Loading files...
📄 README.md

Battle City

Click here to expend English readme

\>\>\> Start Game <<<

KeyDescription
F11Enter fullscreen mode and reload the page
WMove up
AMove left
SMove down
DMove right
BRedeploy
Space bar / Left mouse keyFire
RReload the page
CRemove all buildings
PPause or resume game.

描述

基于 TypeScript 的坦克大战的非标准实现。

\>\>\> 开始游戏 <<<

按键描述
F11全屏并重新加载游戏
W向上移动
A向左移动
S向右移动
D向下移动
B重新部署
空格键或者鼠标左键开火
R重新加载
C清楚建筑物
P暂停或继续游戏