-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
122 lines (108 loc) · 4.01 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Tic Tac Toe</title>
<meta name="description" content="">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="author" content="Ludovico Pinzari">
<!-- Google Fonts -->
<link rel="stylesheet prefetch" href="https://fonts.googleapis.com/css?family=Kalam">
<link rel="stylesheet prefetch" href="https://fonts.googleapis.com/css?family=Coda">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<!-- Fontawsome library -->
<script src="https://kit.fontawesome.com/0d98c9c217.js"></script>
<link rel="stylesheet" href="css/app.css">
</head>
<body>
<!-- CONTAINER -->
<div class="container">
<!-- HEADER: Game Title -->
<header>
<div class="header-title row pt-3 pb-3 mb-4">
<h1>Tic Tac Toe</h1>
</div>
</header>
<!-- /HEADER -->
<!-- SELECTION MENU -->
<div class = "menu">
<label for="player1">Enter a Name and choose a symbol:</label>
<input id="player1" type="text" placeholder="Name for Player 1" />
<select id = "symbol1">
<option value="cross" selected>Select</option>
<option value="cross">Cross</option>
<option value="circle">Circle</option>
<option value="star">Star</option>
<option value="diamond">Diamond</option>
<option value="bomb">Bomb</option>
<option value="heart">Heart</option>
<option value="bolt">Bolt</option>
</select>
<div class="icon"></div>
<input id="player2" type="text" placeholder="Name for Player 2" />
<select id = "symbol2">
<option value="circle" selected>Select</option>
<option value="cross">Cross</option>
<option value="circle">Circle</option>
<option value="star">Star</option>
<option value="diamond">Diamond</option>
<option value="bomb">Bomb</option>
<option value="heart">Heart</option>
<option value="bolt">Bolt</option>
</select>
<div class="icon"></div>
<input id="playgame" type="button" value="Play Game" />
</div>
<!-- /SELECTION MENU -->
<!-- PANEL: Restart-Game -->
<section class="panel">
<span class="name">
Your Turn: <i class="fas fa-star"></i>
</span>
<span class="restart">
<i class="fa fa-repeat"></i>
</span>
</section>
<!-- /PANEL -->
<!-- GRID -->
<ul class="grid">
<li class="cell">1</li>
<li class="cell">2</li>
<li class="cell">3</li>
<li class="cell">4</li>
<li class="cell">5</li>
<li class="cell">6</li>
<li class="cell">7</li>
<li class="cell">8</li>
<li class="cell">9</li>
</ul>
<!-- /GRID -->
<!-- MODAL -->
<div id="modal"></div>
<!-- /MODAL -->
<!-- RESULT -->
<div id="result">
<div id="pop-Body">
<div id="pop-img">
<i class="fa fa-smile-o" aria-hidden="true"></i>
</div>
<h1 id="h1Res"></h1>
<p id="pRes"></p>
</div>
<div id="pop-Ok">
<div id="ok-Button"><button>Yes</button></div>
<span id="no-Button"><button>No</button></span>
</div>
</div>
<!-- /RESULT -->
</div>
<!-- /CONTAINER -->
<script src="js/model.js"></script>
<script src="js/jquery.js"></script>
<script src="js/view.js"></script>
<script src="js/main.js"></script>
</body>
</html>