-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
85 lines (69 loc) · 2.19 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Connect 4 Board Game</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="sweetalert.css">
</head>
<body>
<div class="game-setup">
<h1>Set up game</h1>
<p>Choose board size:</p>
<select class="board-size">
<option value="3">3x3</option>
<option value="4">4x4</option>
<option value="5">5x5</option>
<option value="6">6x6</option>
<option value="7">7x7</option>
<option value="8">8x8</option>
<option value="9">9x9</option>
<option value="10">10x10</option>
<option value="11">11x11</option>
<option value="12">12x12</option>
<option value="13">13x13</option>
<option value="14">14x14</option>
<option value="15">15x15</option>
</select>
<p>Choose length in a row:</p>
<select class="board-count">
<option value="3">3 in a row</option>
<option value="4">4 in a row</option>
<option value="5">5 in a row</option>
<option value="6">6 in a row</option>
<option value="7">7 in a row</option>
<option value="8">8 in a row</option>
<option value="9">9 in a row</option>
<option value="10">10 in a row</option>
</select>
<br/>
<p>Choose first to score:</p>
<select class="board-round">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
<button class="build-board">Build Board</button>
</div>
<div class="game-play">
<h1 class="title"></h1>
<div class="players clearfix">
<button class="player1">Player 1 (1)
<br/> Score: <span>0</span></button>
<button class="player2">Player 2 (2)
<br/> Score: <span>0</span></button>
</div>
<div class="msg-container">
<div id="msg">Let's Play!</div>
</div>
<div class="container .clearfix">
<!-- jQuery will ad divs into this container -->
</div>
<button class="reset">Click New Round</button>
</div>
<script src="jquery.js"></script>
<script src="sweetalert.min.js"></script>
<script src="main.js"></script>
</body>
</html>