-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.html
87 lines (87 loc) · 3.17 KB
/
menu.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="menu.css" />
<title>Main Menu for Strings and Streams</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh"
crossorigin="anonymous"
/>
<!-- SCRIPT FILES -->
<script src="https://code.jquery.com/jquery-3.6.4.min.js"></script>
<script src="menu.js" charset="utf-8"></script>
</head>
<body style="background-color: #fcf5eb">
<div id="instructionsModal" class="modal">
<div class="modal-content">
<span class="close-btn" onclick="closeModal()">×</span>
<h2>Snakes and Ladders: Cat Edition</h2>
<p>Instructions:</p>
<a
href="https://learnenglishkids.britishcouncil.org/print-make/crafts/snakes-ladders"
target="_blank"
>Learn more about Snakes and Ladders</a
>
<p>
This game is a play on snakes and ladders but a cat version. Instead
of tokens, it's a cat. Instead of snakes, it's a water stream because
(most) cats hate water and instead of ladders, it's a string because
cats love to play with strings
</p>
<p>
Players take turns rolling the die and watching their tokens move
forward the number of squares indicated on the screen. If a player
lands on the bottom of a string (green), they climb to the top. If a
player lands on the head of a stream (blue), they slide down to the
bottom of the stream.
</p>
<p>In two-player mode, whoever clicks the dice first is player one.</p>
<p>Watch out because there will be random events popping up!</p>
</div>
</div>
<h1 class="header">Main Menu for Strings and Streams</h1>
<div class="menu-container">
<button class="how-to-play-btn" onclick="openModal()">How to Play</button>
<div
class="d-flex flex-column flex-md-row p-4 gap-4 py-md-5 align-items-center justify-content-center"
>
<ul
class="dropdown-menu d-block position-static mx-0 shadow w-220px"
data-bs-theme="light"
>
<li>
<a
id="onePlayerBtn"
class="dropdown-item d-flex gap-2 align-items-center"
href="index.html?mode=onePlayer"
>
One Player
</a>
</li>
<li>
<a
id="playerVsPlayerBtn"
class="dropdown-item d-flex gap-2 align-items-center"
href="index.html?mode=playerVsPlayer"
>
Player VS Player
</a>
</li>
<li>
<a
id="computerVScomputerBtn"
class="dropdown-item d-flex gap-2 align-items-center"
href="index.html?mode=computerVScomputer"
>
Computer VS Computer
</a>
</li>
</ul>
</div>
</div>
</body>
</html>