LINE1 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 1701<!doctype html>2<html lang="en">3 <head>4 <meta charset="UTF-8" />5 <meta name="viewport" content="width=device-width, initial-scale=1.0" />6 <title>Zombie Sniper</title>7 <link rel="stylesheet" href="/src/style.css" />8 </head>9 <body>10 <div id="hud">11 <div id="frost"></div>12 <div id="scope" class="hidden">13 <div id="scopeZoom"></div>14 </div>15 <div id="topLeft">16 <div id="money">$0</div>17 <div id="res"></div>18 <div id="goal"></div>19 <div id="warmth" class="hidden">20 <span>Warmth</span>21 <div id="warmthBar"><div id="warmthFill"></div></div>22 </div>23 </div>24 <div id="notices" role="status" aria-live="polite"></div>25 <div id="crosshair"></div>26 <div id="hitmarker"></div>27 <div id="kills"></div>28 <div id="prompt" class="hidden"></div>29 <div id="fps" class="hidden"></div>30 <div id="bottomLeft">31 <div id="weaponName"></div>32 <div id="zoomLabel"></div>33 <div id="reloadLabel"></div>34 <div id="breath"><div id="breathFill"></div></div>35 <div class="hint">WASD move · Shift sprint · RMB scope · Shift (scoped) hold breath · Wheel zoom · R reload · 1-6 weapon · E workbench</div>36 </div>37 <div id="bottomRight"><span id="ammo">0</span><span id="reserve"></span></div>38 <canvas id="radar" width="180" height="180" class="hidden"></canvas>39 </div>4041 <div id="menu" class="screen">42 <div class="panel center menu">43 <h1>ZOMBIE SNIPER</h1>44 <div class="bar" id="menuBar"></div>45 <p>46 You're holed up in a building. The dead can't touch you, but they're everywhere: in the windows across the street,47 wandering the road, and in the blocks beyond. Snipe them for cash and salvage, then go to the48 <b>workbench</b> in the top-floor west room to craft, upgrade and sell.49 </p>50 <p><b>Goal: kill 50 zombies on the street, or 100 on the wall.</b></p>51 <p>52 Be careful with your <b>ammo</b> and your <b>resources</b>. Every round costs salvage to craft, and a missed shot53 is gone for good. Spend your cash and scrap on the wrong gun and you will run dry long before you reach 50 kills.54 Every kill is a step toward the win, so make each shot count.55 </p>56 <ul class="controls">57 <li><b>WASD</b> move · <b>Mouse</b> look</li>58 <li><b>Left click</b> fire · <b>Right click</b> scope · <b>Mouse wheel</b> change magnification</li>59 <li><b>Shift</b> sprint (not while scoped) · <b>Shift while scoped</b> hold breath (steadies the shot, limited time) · <b>R</b> reload · <b>1-6</b> switch weapon</li>60 <li><b>E</b> at the workbench · <b>Esc</b> pause</li>61 </ul>62 <p class="small">Your building is safe. Nothing out there can reach the window. Everything else is for sale.</p>63 <p class="small">Headshots pay double. Long shots pay more. Bullets drop over distance, so aim high on long shots.</p>64 <h3>Maps</h3>65 <div id="mapList"></div>66 <div class="row">67 <button id="prestigeBtn">Prestige shop</button>68 <button id="settingsStart">Settings</button>69 </div>70 </div>71 </div>7273 <div id="shop" class="screen hidden">74 <div class="panel shop">75 <header>76 <h2>Prestige shop</h2>77 <button id="closeShop">Back (Esc)</button>78 </header>79 <div id="shopBody"></div>80 <p class="small">Points come from headshot streaks and lucky kills. They are banked when you take the pill, and perks apply from your next run.</p>81 </div>82 </div>8384 <div id="win" class="screen hidden">85 <div class="panel center">86 <h1 id="winTitle"></h1>87 <p id="winText"></p>88 <p class="small" id="winStats"></p>89 <p class="small">Take the pill to bank your prestige points and return to the main menu.</p>90 <div class="row">91 <button id="keepPlaying">Keep playing</button>92 </div>93 </div>94 </div>9596 <div id="dead" class="screen hidden">97 <div class="panel center">98 <h1>YOU FROZE</h1>99 <p>The cold got in faster than the stove could push it back out. The run is over.</p>100 <p class="small" id="deadStats"></p>101 <p class="small">Prestige only rises when you win and take the pill.</p>102 <div class="row">103 <button id="backToMenu">Back to the main menu</button>104 </div>105 </div>106 </div>107108 <div id="pause" class="screen hidden">109 <div class="panel center">110 <h2>Paused</h2>111 <p>Click to resume</p>112 <p class="tip" id="tip"></p>113 <div class="row"><button id="settingsPause">Settings</button></div>114 <div class="row">115 <button id="unstuck">Unstuck</button>116 <p class="small">Stuck? Teleports you back to the sniper nest.</p>117 </div>118 </div>119 </div>120121 <div id="settings" class="screen hidden">122 <div class="panel settings">123 <header>124 <h2>Settings</h2>125 <button id="closeSettings">Back (Esc)</button>126 </header>127 <div id="settingsBody"></div>128 <div class="row"><button id="resetSettings">Reset to defaults</button></div>129 <p class="small">Settings are saved in this browser, separately from your runs and prestige.</p>130 </div>131 </div>132133 <div id="base" class="screen hidden">134 <div class="panel base">135 <header>136 <h2>Workbench</h2>137 <button id="closeBase">Close (Esc)</button>138 </header>139 <nav id="baseTabs">140 <button data-tab="armory" class="active">Armory</button>141 <button data-tab="workshop">Workshop</button>142 <button data-tab="trader">Trader</button>143 <button data-tab="contracts">Contracts</button>144 <button data-tab="save">Stats & Save</button>145 </nav>146 <div id="baseBody"></div>147 </div>148 </div>149150 <script type="module" src="/src/main.js"></script>151 </body>152</html>