A free canvas demo — play it in your browser, no install. 《钢铁防线 STEEL LINE 1937–1945》· 45 关二战塔防 · 纯前端 Canvas,零依赖零构建,双击即玩(V1.8.1)
Made this, @yuyue-2011? See how many people played it → or use email
GitHub may ask you to sign in, then to let VibeCruiser “Verify your GitHub identity” and “Act on your behalf”. We only read your profile and email, and never post anything.
Open the live demo Source on GitHub本作以史实为骨、娱乐为皮 · 无血化处理 · 反法西斯立场 谨以此致敬所有守土之人。
一款用原生 JavaScript + Canvas 手写渲染的二维阵地防守游戏:你守一段防线,靠补给部署兵种卡,顶住一波波步兵、装甲与工兵,直到扛旗的总攻波被打退。
没有框架、没有构建步骤、没有一张外部图片——所有地形、单位、特效都是代码画出来的矢量像素图,音效由 WebAudio 实时合成。整个游戏就是一个可以双击打开的网页。
收补给 —— 点击从天而降的补给包裹,数值显示在左上角;「战地伙房」能自产。 布阵地 —— 点选下方兵种卡,再点格子部署,每张卡有独立冷却;数字键 1-9/0 快速选卡。 看血条 —— 敌军头顶常显血条(门板盾为蓝白细条),己方单位受损后也会显示。 三档难度 —— 每关战报可自选 练兵 / 实战 / 精锐(精锐首克授纪念章)。 反冲击 —— 敌军突入左端时,该行待命的「反冲击小队」自动清行,但一行只有一次。 工兵铲 —— 拆除己方部署(不返还补给),也能掀掉敌军搭上的竹梯。
水道要先铺「门桥浮台」才能布兵;「黑海水兵班」可直接下水。 高跷兵蹦得过沙袋,蹦不过「城墙碉垒」;掘进工兵钻地绕后会从左往右拆家;装甲推土车只有反坦克地刺治得了。 门板盾兵正面免疫直射,怕曲射(迫击炮/手榴弹)与近战;泅渡兵潜行时打不着。 扛旗敌兵出现即「大规模进攻!」——那是最后一波。
Built something like this? Submit your vibe — free account, takes a minute. How listing works.
Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.
Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.