minesweeper/html/index.html

79 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Minesweeper 99</title>
</head>
<body>
<h1>Minesweeper 99</h1>
<h4 class="subheader">Now with 16 players max</h4>
<div id="main">
<div>
<div id="board">
<!-- Renderer will push content here -->
</div>
</div>
<div>
<div id="stats">
<h2>Time left:</h2>
<span>--:--</span>
<hr>
<div>
<div id="bombs">
<h3>Bombs left:</h3>
<span>-</span>
</div>
<div id="players">
<h3>Players:</h3>
<span>-/-</span>
</div>
</div>
<hr>
</div>
<div id="register">
<h2>Welcome</h2>
<form action="#">
<label for="username">Username:</label><br>
<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>
<label for="store">Use these settings this session:</label>
<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>
<footer>
> Coded by <a href="//arnweb.nl" target="new">McArn</a>.<br>
> Found bugs? <a href="//arnweb.nl/contact/">Contact me</a>
</footer>
</body>
</html>