-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (67 loc) · 3.22 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Comic+Neue:wght@700&display=swap" rel="stylesheet">
<link href="style.css" rel="stylesheet" type="text/css">
<title>Tic Tac Toe</title>
</head>
<body>
<header>
<div class="page-header1" >
<img class="page-logo"src="images/tictactoe.png">
<img class="page-heading" src="images/heading.gif">
</div>
</header>
<div class="container-fluid">
<div class="boardcontainer">
<div class="reset-section">
<button class="reset btn btn-secondary" type="button" onclick="location.reload()">Reset all</button>
</div>
<div class="board">
<button class="btn play-btn" type="button">Let's Start</button>
<div class="choice">
<p>How do you want to play?</p>
<button class="btn playerbtn" id="1p">One Player</button>
<button class="btn playerbtn" id="2p">Two Player</button>
</div>
<div class="XOchoice" >
<p>What you want to be?</p>
<button class="XObutton btn btn-secondary" id="X">X</button>
<button class="XObutton btn btn-secondary" id="O">O</button>
</div>
<div class="gameboard">
<div class="row">
<div id="0" class="square bottom right"></div>
<div id="1" class="square bottom right"></div>
<div id="2" class="square bottom"></div>
</div>
<div class="row">
<div id="3" class="square bottom right"></div>
<div id="4" class="square bottom right"></div>
<div id="5" class="square bottom"></div>
</div>
<div class="row">
<div id="6" class="square right"></div>
<div id="7" class="square right"></div>
<div id="8" class="square"></div>
</div>
<div id="overlay" onclick="off('overlay')">
<div class="result"></div>
</div>
</div>
</div>
</div>
</div>
<div class="empty"></div>
<footer>
<p>{Copyright @ <a href="https://github.com/atpug22" target="blank" id="username">Atpug22</a> All Rights Reserved}</p>
</footer>
<script src="main.js"></script>
</body>
</html>