-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrid.html
92 lines (74 loc) · 2.86 KB
/
grid.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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="gridstyle.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Hammersmith+One&display=swap"
</head>
<body style=" background-image: url('images/bg.jpeg');
background-size: cover;">
<!-- <img src="bg.jpeg" class="bkg_img"alt=""> -->
<div class="game-setup">
<h2>Set up game</h2>
<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 btn-sm">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">Reset Board (R)</button>
</div>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="jquery.js"></script>
<script src="https://code.jquery.com/jquery-2.2.4.min.js">
</script>
<script src="grid.js"></script>
<script type="text/javascript">
</script>
</body>
</html>