-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
133 lines (123 loc) · 4.5 KB
/
game.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TASK 1</title>
<link rel="stylesheet" href="app.css">
<link rel="stylesheet" href="navbar.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/font-awesome.min.css">
</head>
<body>
<nav class="navbar">
<div class="brand-title">RICOCHET RUMBLE</div>
<a href="#" class="toggle-button">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>
</a>
<div class="navbar-links">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="instructions.html">Instructions</a></li>
<li><a href="#">Settings</a></li>
</ul>
</div>
</nav>
<main class="father-container">
<div class="players">
<section class="player white" id="player1">
<h2>Player 1</h2>
<div class="status">
<span class='time' id="time1">05:00</span>
<span class='cash' id="cash1">0</span>
<meter id="p1Health" min="0" max="10"></meter>
</div>
</section>
<section class="player black" id="player2">
<h2>Player 2</h2>
<div class="status">
<span class='time' id="time2">05:00</span>
<span class='cash' id="cash2">0</span>
<meter id="p2Health" min="0" max="10"></meter>
</div>
</section>
</div>
<div class="main_container_with_buttons">
<section class="main-container" id="game-board">
</section>
<div class="buttons">
<a href="#" class="anchor left small hidden" id = "black">
<span></span>
<span></span>
<span></span>
<span></span>
<img src='images/left.svg'>
</a>
<a href="#" class="anchor swap small hidden" id = "black">
<span></span>
<span></span>
<span></span>
<span></span>
<img src='images/swap.svg'>
</a>
<a href="#" class="anchor right small hidden" id = "black">
<span></span>
<span></span>
<span></span>
<span></span>
<img src='images/right.svg'>
</a>
<a href="#" class="anchor spell small hidden" id = "black">
<span></span>
<span></span>
<span></span>
<span></span>
Spell
</a>
</div>
</div>
<section class="move_history">
<ul class="history">Moves History</ul>
<div class="history-control">
<a href="#" class="anchor undo small" id = "undo">
<span></span>
<span></span>
<span></span>
<span></span>
<img src='images/undo.svg'>
</a>
<a href="#" class="anchor pause_resume small" id = "black">
<span></span>
<span></span>
<span></span>
<span></span>
<img src='images/play.svg'>
</a>
<a href="#" class="anchor redo small" id = "redo">
<span></span>
<span></span>
<span></span>
<span></span>
<img src='images/redo.svg'>
</a>
</div>
</section>
</main>
<dialog id="popup" class="popup">
<h1 class="diatext"></h1>
<button id="replay">Replay</button>
<button class="reset">Play Again</button>
</dialog>
<dialog id="warning" class="warning">
<h1>Not Enough Coins</h1>
<button id="close">Close</button>
</dialog>
<script src="variables.js"></script>
<script src="object.js"></script>
<script src="pieces.js"></script>
<script src="functions.js"></script>
<script src="app.js"></script>
<script src="timer.js"></script>
</body>
</html>