-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
101 lines (100 loc) · 3.96 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title id="title">Tic Tac Toe</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Coda+Caption:800" rel="stylesheet">
<link href="style.css" rel="stylesheet">
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
<script src="script.js"></script>
</head>
<body class="container">
<div >
<!--Game title-->
<div id="header" class="col-lg-12 col-xs-12">
<h1>Tic-Tac-Toe</h1>
</div>
<!--Stats list to display score, games played, proficiency and reset game-->
<div id="stats_player_area" class="col-lg-12 col-xs-12">
<div id="stats" class="hidden-xs col-sm-3 col-xs-12">
<h3>Stats</h3>
<ul>
<li>Games Played: <span id="gpSpan" class="label label-default">0</span>
</li>
<li>X Score: <span id="pxScore" class="label label-default">0</span>
</li>
<li>O Score: <span id="poScore" class="label label-default">0</span>
</li>
</ul>
</div>
<!--main tictactoe game area for player 1 and 2-->
<div id="player_area" class="col-sm-6 col-xs-6">
<div id="players" class="col-xs-12">
<div class="player_indicator col-xs-6" id="player1"><span>Player X</span></div>
<div class="player_indicator col-xs-6" id="player2"><span>Player O</span></div>
</div>
<button id="settings" class="btn btn-info">Settings</button>
<button id="reset_button" class="btn btn-warning">Reset</button>
</div>
<div id="timer" class="col-sm-3 col-xs-6">
<span>Timer</span>
</div>
</div>
</div>
<div id="game_area" class="col-lg-12 col-xs-12">
<div id="gamebody" class="col-sm-6 col-xs-12">
</div>
<!--area for questions to be generated-->
<div id="question_area" class="col-sm-6 col-xs-12">
<div id="question">
<h1>Question</h1>
<!--area for answer to be generated-->
</div>
<div id="answer">
</div>
</div>
</div>
<div id="win" class="col-xs-12">You Win!</div>
<div id="settings_window" class="col-xs-12">
<div id="settings_container" class="col-xs-12">
<div id="settings_float" class="col-xs-12">
<div class="board_number_size col-xs-6 form-group">
<label for="board_size">Change Board Size:</label>
<select name="board_size" id="board_size" class="form-control">
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
</select>
</div>
<div class="board_number_size col-xs-6 form-group">
<label for="win_size">Change Minimum Win Size:</label>
<select name="win_size" id="win_size" class="form-control">
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
</select>
</div>
<div class="container col-xs-12 form-group">
<button id="submit" class="btn btn-success">Submit</button>
<button id="settings_close" class="btn btn-error">Close</button>
</div>
</div>
</div>
</div>
</body>
</html>