|
| 1 | +<!doctype html> |
| 2 | +<html lang="zh-CN"> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8" /> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 6 | + <meta |
| 7 | + name="description" |
| 8 | + content="回声集市:像素风战术推箱小游戏,开门、换边、推货箱并躲开巡音影。" |
| 9 | + /> |
| 10 | + <title>回声集市 | DemoCodex</title> |
| 11 | + <link |
| 12 | + rel="icon" |
| 13 | + href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%23100f1f'/%3E%3Cpath d='M14 40 32 14l18 26-18 12Z' fill='%23c084fc'/%3E%3Cpath d='M22 38h22' stroke='%23f59e0b' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M25 28c5-5 9-5 14 0' stroke='%235eead4' stroke-width='4' stroke-linecap='round' fill='none'/%3E%3C/svg%3E" |
| 14 | + /> |
| 15 | + <link rel="stylesheet" href="src/css/echo-bazaar.css" /> |
| 16 | + </head> |
| 17 | + <body> |
| 18 | + <main class="pixel-shell"> |
| 19 | + <header class="pixel-hero"> |
| 20 | + <a class="pixel-back" href="index.html">返回首页</a> |
| 21 | + <div> |
| 22 | + <p class="pixel-eyebrow">Echo Bazaar</p> |
| 23 | + <h1 class="pixel-title">回声集市</h1> |
| 24 | + <p class="pixel-lead">夜市摊位被巡音影打乱。你要踩开铜闸,借回声门换到箱子背面,把 3 个货箱推回摊位后撤离。</p> |
| 25 | + </div> |
| 26 | + <div class="pixel-actions"> |
| 27 | + <button class="pixel-cta" id="app-start" type="button">接管集市</button> |
| 28 | + <button class="pixel-cta pixel-cta--ghost" id="app-reset" type="button">重置摊位</button> |
| 29 | + </div> |
| 30 | + </header> |
| 31 | + |
| 32 | + <section class="pixel-layout"> |
| 33 | + <section class="pixel-panel pixel-panel--primary"> |
| 34 | + <div class="pixel-stats"> |
| 35 | + <article class="pixel-stat"><span class="pixel-stat__label">关卡</span><strong class="pixel-stat__value" id="stat-stage">1</strong></article> |
| 36 | + <article class="pixel-stat"><span class="pixel-stat__label">得分</span><strong class="pixel-stat__value" id="stat-score">0</strong></article> |
| 37 | + <article class="pixel-stat"><span class="pixel-stat__label">护盾</span><strong class="pixel-stat__value" id="stat-life">3</strong></article> |
| 38 | + <article class="pixel-stat"><span class="pixel-stat__label">摊位</span><strong class="pixel-stat__value" id="stat-target">0 / 3</strong></article> |
| 39 | + <article class="pixel-stat"><span class="pixel-stat__label">静音</span><strong class="pixel-stat__value" id="stat-skill">就绪</strong></article> |
| 40 | + <article class="pixel-stat"><span class="pixel-stat__label">纪录</span><strong class="pixel-stat__value" id="stat-best">0</strong></article> |
| 41 | + </div> |
| 42 | + |
| 43 | + <div class="pixel-board-shell"> |
| 44 | + <canvas class="pixel-canvas" id="pixel-canvas" width="840" height="840" role="img" aria-label="回声集市棋盘"></canvas> |
| 45 | + <div class="pixel-overlay is-visible" id="pixel-overlay" aria-live="polite"> |
| 46 | + <p class="pixel-overlay__kicker">集市简报</p> |
| 47 | + <h2 class="pixel-overlay__title" id="overlay-title">按开始或 Enter 接管集市</h2> |
| 48 | + <p class="pixel-overlay__body" id="overlay-body">方向键移动和推箱,空格听声,Q 展开静音罩。回声门只传送人,必须先换边再推箱。</p> |
| 49 | + </div> |
| 50 | + </div> |
| 51 | + |
| 52 | + <section class="pixel-pad"> |
| 53 | + <button class="pixel-pad__button" data-action="up" type="button">上</button> |
| 54 | + <button class="pixel-pad__button" data-action="left" type="button">左</button> |
| 55 | + <button class="pixel-pad__button" data-action="wait" type="button">停</button> |
| 56 | + <button class="pixel-pad__button" data-action="right" type="button">右</button> |
| 57 | + <button class="pixel-pad__button" data-action="down" type="button">下</button> |
| 58 | + <button class="pixel-pad__button pixel-pad__button--accent" data-action="skill" type="button">静音</button> |
| 59 | + </section> |
| 60 | + </section> |
| 61 | + |
| 62 | + <aside class="pixel-panel pixel-panel--side"> |
| 63 | + <section class="pixel-sidecard"> |
| 64 | + <h2 class="pixel-sidecard__title">任务状态</h2> |
| 65 | + <p class="pixel-sidecard__body" id="status-text">把 3 个货箱推回摊位,再从北门撤离。</p> |
| 66 | + <p class="pixel-sidecard__body pixel-sidecard__body--hint" id="objective-text">回声门只送人不送箱,别把货箱推到死角。</p> |
| 67 | + </section> |
| 68 | + <section class="pixel-sidecard"> |
| 69 | + <h2 class="pixel-sidecard__title">玩法说明</h2> |
| 70 | + <ul class="pixel-rules"> |
| 71 | + <li>踩铜闸开关会打开封闭通道。</li> |
| 72 | + <li>货箱压到摊位后会锁定得分。</li> |
| 73 | + <li>静音罩能让巡音影停住一拍。</li> |
| 74 | + </ul> |
| 75 | + </section> |
| 76 | + <section class="pixel-sidecard"> |
| 77 | + <h2 class="pixel-sidecard__title">控制方式</h2> |
| 78 | + <ul class="pixel-rules"> |
| 79 | + <li>WASD / 方向键:移动和推箱</li> |
| 80 | + <li>Space:听声等待</li> |
| 81 | + <li>Q:静音罩</li> |
| 82 | + <li>Enter:开始</li> |
| 83 | + <li>R:重置</li> |
| 84 | + </ul> |
| 85 | + </section> |
| 86 | + <section class="pixel-sidecard"> |
| 87 | + <h2 class="pixel-sidecard__title">行动面板</h2> |
| 88 | + <div class="pixel-mini-actions"> |
| 89 | + <button class="pixel-button pixel-button--ghost" id="action-wait" type="button">听声</button> |
| 90 | + <button class="pixel-button pixel-button--accent" id="action-skill" type="button">静音</button> |
| 91 | + <button class="pixel-button pixel-button--ghost" id="action-restart" type="button">重开</button> |
| 92 | + </div> |
| 93 | + </section> |
| 94 | + <section class="pixel-sidecard"> |
| 95 | + <h2 class="pixel-sidecard__title">遥测</h2> |
| 96 | + <dl class="pixel-metrics"> |
| 97 | + <div class="pixel-metrics__row"><dt>当前回合</dt><dd id="metric-turn">0</dd></div> |
| 98 | + <div class="pixel-metrics__row"><dt>巡音影</dt><dd id="metric-danger">0</dd></div> |
| 99 | + <div class="pixel-metrics__row"><dt>最佳关卡</dt><dd id="metric-best-stage">0</dd></div> |
| 100 | + </dl> |
| 101 | + </section> |
| 102 | + <section class="pixel-sidecard"> |
| 103 | + <h2 class="pixel-sidecard__title">行动日志</h2> |
| 104 | + <ul class="pixel-feed" id="feed-list"></ul> |
| 105 | + </section> |
| 106 | + </aside> |
| 107 | + </section> |
| 108 | + </main> |
| 109 | + |
| 110 | + <script src="src/js/grid-arcade-core.js"></script> |
| 111 | + <script src="src/js/pixel-page-runtime.js"></script> |
| 112 | + <script src="src/js/echo-bazaar.js"></script> |
| 113 | + </body> |
| 114 | +</html> |
0 commit comments