<!doctype html>
<html lang="en">
	<head>
		<meta charset="UTF-8"/>
		<title>Lux synthesĕ</title>
		<style type="text/css">
@font-face {
	font-family: UacariLegacy;
	font-weight: normal;
	src: url("assets/UacariLegacy-Regular.ttf");
}
@font-face {
	font-family: UacariLegacy;
	font-weight: bold;
	src: url("assets/UacariLegacy-Bold.ttf");
}
@font-face {
	font-family: UacariLegacy-Thin;
	src: url("assets/UacariLegacy-Thin.ttf");
}

html, body {
	font-family: UacariLegacy;
	margin: 0;
	padding: 0;
	background-color: #222;
}
body {
	display: flex;
	flex-flow: column;
	color: white;
}
h1, h2 {
	font-family: UacariLegacy-Thin;
	font-weight: normal;
}
canvas {
	order: 1;
	max-width: 100vw;
	max-height: 100vh;
	margin: auto;
}
#readme {
	order: 2;
	width: 640px;
	max-width: 100vw;
	padding: 8px;
	margin: auto;
}
a, a:visited {
	color: #f80;
}
		</style>
	</head>
	<body>
		<script type="module">
import init from './target/lux-synthese.js'
init()
		</script>
		<!-- workaround to be sure the browser will request permission to autoplay audio -->
		<audio autoplay src="assets/silence.ogg"></audio>
		<div id="readme">
			<h1>Lux synthesĕ</h1>
			<p>
				<strong>If audio does not work, please allow media autoplay in browser, then refresh this page.</strong>
			</p>
			<h2>Controls</h2>
			<ul>
				<li><strong>Move</strong>: Arrows</li>
				<li><strong>Switch</strong>: Tab</li>
				<li><strong>Level up</strong>: Enter</li>
				<li><strong>Reset</strong>: R</li>
			</ul>
			<h2>Download</h2>
			Download an executable release:
			<ul>
				<li><a href="https://txmn.tk/projects/lux-synthese/linux-x86_64.zip">Linux x86_64</a></li>
				<li><a href="https://txmn.tk/projects/lux-synthese/windows-x86_64.zip">Windows x86_64</a></li>
			</ul>
			<h2>Source</h2>
			<p>
				The source code of this free software is available in our <a href="https://git.txmn.tk/tuxmain/bevyjam/">Git repository</a>.
			</p>
			<p>
				GNU AGPL v3: CopyLeft 2022 Pascal Engélibert, Nixon Cheng<br/>
				Lux synthesĕ is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.<br/>
				Lux synthesĕ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.<br/>
				You should have received a copy of the GNU Affero General Public License along with Lux synthesĕ. If not, see <a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>.
			</p>
		</div>
	</body>
</html>