-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (51 loc) · 1.81 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Egg, Yolk, Chicken - Evolution of Tic Tac Toe</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<h1>Egg, Yolk, Chicken</h1>
<p id="instructions">Tic Tac Toe with a twist. Play as Chicken 'X' or Egg '0' to solve the age old question of who came first.</p>
</header>
<main>
<!-- Game options -->
<div id="menu">
<p id="menuQuestion">Choose player 1:</p>
<div id="pieceSelection">
<button class="menuButton" id="chickenButton"></button>
<button class="menuButton" id="eggButton" ></button>
</div>
<div id="playerTwoSelection">
<button class="menuButton" id="humanButton"></button>
<button class="menuButton" id="computerButton"></button>
</div>
<div id='gridMenu'>
<button class="menuButton gridButton" id="gridThree">3 x 3</button>
<button class="menuButton gridButton" id="gridFour">4 x 4</button>
<div class="desktopGridOptions">
<button class="menuButton gridButton" id="gridFive">5 x 5</button>
<button class="menuButton gridButton" id="gridSix">6 x 6</button>
</div>
</div>
</div>
<div id="game">
<div id="grid">
<!-- Game Squares generated in JavaScript -->
</div>
</div>
<h2 id="gameOverMessage"></h2>
<button id="resetButton">Play again</button>
</main>
<footer>
<p><small>© Amanda Jarvinen, 2020</small></p>
</footer>
<script src="js/jquery.js" charset="utf-8"></script>
<script src="js/gameLogic.js" charset="utf-8"></script>
<script src="js/ui.js" charset="utf-8"></script>
</body>
</html>