-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (54 loc) · 2.44 KB
/
Copy pathindex.html
File metadata and controls
58 lines (54 loc) · 2.44 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pick15</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="game-board">
<div class="bot-icon">
<img class="bot-icon" src="images/robot-icon-two.png" alt="computer-robot-icon">
<!-- <span class="bot-icon-text">Click me once for randomness. <br> Click me twice for a challenge. <br> Click me
three times to disable me.</span> -->
</div>
<div class="info-pane">
<p>ⓘ</p>
<span class="info-pane-text">Click three numbers diagonally, column or in a row that add to 15. <br> Click
once on your robot friend to play the bot. Double click for a challenge. Triple click to turn it
off.</span>
</div>
<div class="main-heading">
<h1 class="game-heading">Pick15</h1>
<p class="sub-heading">Align 3 numbers that add to 15.</p>
</div>
<div class="game-grid">
<div class="tile tile-dwn" data-index="0">2</div>
<div class="tile tile-dwn" data-index="1">7</div>
<div class="tile tile-dwn" data-index="2">6</div>
<div class="tile tile-dwn" data-index="3">9</div>
<div class="tile tile-dwn" data-index="4">5</div>
<div class="tile tile-dwn" data-index="5">1</div>
<div class="tile tile-dwn" data-index="6">4</div>
<div class="tile tile-dwn" data-index="7">3</div>
<div class="tile tile-dwn" data-index="8">8</div>
</div>
<div class="sub-board">
<div class="player-scores">
<p>Red: <span class="red-score">0</span></p>
<!-- Later add the % of wins next to it in another p or span tag-->
<p>Blue: <span class="blue-score">0</span></p>
</div>
<div>
<p>Messages: <br><span class="alert-messages">Red takes first turn</span></p>
<button id="reset-btn">Reset Board</button>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="tripleclick.js"></script>
<script src="app.js"></script>
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.2.0/dist/confetti.browser.min.js"></script>
</body>
</html>