minesweeper/html/index.html

85 lines
2.3 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2020-11-27 19:54:43 +01:00
<!--
SVG Icons by FontAwesome, no changes have been made to the icons used (bomb, flag)
Licence: https://fontawesome.com/license
-->
<title>Minesweeper 99</title>
</head>
<body>
2020-11-27 19:06:50 +01:00
<h1>Minesweeper 99</h1>
<h4 class="subheader">Now with 16 players max</h4>
<div id="main">
2020-11-18 11:43:45 +01:00
<div>
<div id="board">
<!-- Renderer will push content here -->
</div>
</div>
2020-11-18 11:43:45 +01:00
<div>
2020-11-27 19:06:50 +01:00
<div id="stats">
2020-11-18 11:43:45 +01:00
<h2>Time left:</h2>
2020-11-27 19:06:50 +01:00
<span>--:--</span>
<hr>
<div>
<div id="bombs">
<h3>Bombs left:</h3>
<span>-</span>
</div>
<div id="players">
<h3>Players:</h3>
<span>-/-</span>
</div>
</div>
2020-11-18 11:43:45 +01:00
<hr>
</div>
<div id="register">
<h2>Welcome</h2>
<form action="#">
<label for="username">Username:</label><br>
2020-11-27 19:06:50 +01:00
<input type="text" name="username" placeholder="Username" required="true"><br><br>
<label for="opponents">Number of opponents:</label><br>
<input type="number" min="2" max="16" name="opponents" value="2"><br><br>
2020-11-18 11:43:45 +01:00
2020-11-27 19:06:50 +01:00
<label for="store">Use these settings this session:</label>
2020-11-18 11:43:45 +01:00
<input type="checkbox" name="store"><br>
<label for="store" style="color: tomato">This feature uses cookies.</label><br><br>
<button type="submit">Submit</button>
</form>
</div>
<div id="log">
<h2>Gamelog</h2>
<div>
<!-- Game log will be pushed here -->
</div>
</div>
</div>
</div>
<script src="/main.js"></script>
2020-11-08 22:47:13 +01:00
<footer>
2020-11-27 19:06:50 +01:00
> Coded by <a href="//arnweb.nl" target="new">McArn</a>.<br>
> Found bugs? <a href="//arnweb.nl/contact/">Contact me</a>
2020-11-08 22:47:13 +01:00
</footer>
</body>
</html>