40 lines
1.8 KiB
HTML
40 lines
1.8 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
|
<meta name="darkreader-lock">
|
|
<title>Pathological</title>
|
|
<link rel="icon" href="graphics/icon.png">
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<main id="app">
|
|
<div id="stage">
|
|
<canvas id="screen" width="800" height="600" tabindex="0" aria-label="Pathological game board"></canvas>
|
|
<input id="name-input" type="text" maxlength="20" autocomplete="off" spellcheck="false" aria-label="Your name" hidden>
|
|
<div id="loading">Loading...</div>
|
|
</div>
|
|
<nav id="toolbar" aria-label="Game controls">
|
|
<button data-key="p" title="Pause (Space or P)">Pause</button>
|
|
<button data-key="Escape" title="Abort level / back (Esc)">Abort level</button>
|
|
<button data-key="b" title="Previous level (B)">Prev level</button>
|
|
<button data-key="n" title="Next level (N)">Next level</button>
|
|
<button data-key="F4" id="btn-sound" title="Toggle sound effects (F4)">Sound</button>
|
|
<button data-key="F3" id="btn-music" title="Toggle music (F3)">Music</button>
|
|
<button data-key="F5" id="btn-cb" title="Colorblind marbles (F5)">Colorblind</button>
|
|
<button data-key="F2" id="btn-fs" title="Fullscreen (F2)">Fullscreen</button>
|
|
</nav>
|
|
<p id="help">
|
|
Left click a marble in a wheel to release it. Right click a wheel to rotate it
|
|
(Shift + right click rotates backwards; on a touch screen, press and hold).
|
|
Fill each wheel with four marbles of the same color before the timers run out.
|
|
</p>
|
|
<p id="legal">
|
|
Pathological © 2003 John-Paul Gignac, 2004 Joe Wreschnig. Soundtrack by Matthias Le Bidan.
|
|
Web port of the GPL v2 original, see <a href="LICENSE">LICENSE</a> and <a href="README">README</a>.
|
|
</p>
|
|
</main>
|
|
<script type="module" src="main.js"></script>
|
|
</body>
|
|
</html>
|