-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (33 loc) · 1.13 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Nim</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1>Nim</h1>
<div id="message-box">
<!-- Message will appear here -->
</div>
<div id="game">
<!-- Game elements will be added dynamically with JavaScript -->
</div>
<button id="button"></button>
<div id="taunt">
<!-- Message will appear here -->
</div>
<div class="rules-container">
<h3>Rules</h3>
<p class="rules">On your turn, click on pearls to remove them. <br />
You may remove as many pearls as you like from a single row. <br />
You must remove at least one pearl, but you may pass on the first turn if you wish. <br />
The player who leaves exactly one pearl remaining is the winner! <br />
It is possible to win every game, but NimBot will win if you make even one mistake.
</p>
</div>
</div>
<script src="app.js"></script>
</body>
</html>