forked from ketanhwr/chain-reaction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (28 loc) · 911 Bytes
/
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
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<title>Chain Reaction!</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
<center>
<input id="playersCount" type="number" min="2" value="2" max="8" style="width: 3em;"/>
<div class="undo" id="undo">
<p>UNDO</p>
</div>
<canvas width="420" height="630" id="arena">
Canvas tag not supported!
</canvas>
<audio src="point_sound.mp3" id="sound">
Audio tag not supported!
</audio>
<center>
<a href="https://brilliant.org/wiki/chain-reaction-game/" target="_blank">Rules</a>
</center>
<script src="script.js"></script>
</center>
<div class='undoMessage' style='display:none' id ='undoError' >Only one move can be Undone!</div>
<div class='playersOut' id ='playersOut' ></div>
</body>
</html>