-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (35 loc) · 1.3 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
<head>
<title>Tic Tac Toe</title>
<link rel='stylesheet' type='text/css' href='style.css'>
</head>
<body>
<h1>Unbeatable Tic Tac Toe</h1>
<div class='select-screen' id='select-mode-screen'>
<h2 id='select-screen-caption'>Do you want to play against a friend or the computer?</h2>
<button id='single-player-btn'>Computer</button>
<button id='multiplayer-btn'>Friend</button>
</div>
<div class='select-screen' id='select-xo-screen'>
<h2 id='select-screen-caption'>Do you want to play as X or as O?</h2>
<button id='play-x-btn'>X</button>
<button id='play-o-btn'>O</button>
</div>
<div id='game-screen'>
<h2 id='game-info-caption'></h2>
<div id='game-field'>
<div class='square' id='0'></div>
<div class='square' id='1'></div>
<div class='square' id='2'></div>
<div class='square' id='3'></div>
<div class='square' id='4'></div>
<div class='square' id='5'></div>
<div class='square' id='6'></div>
<div class='square' id='7'></div>
<div class='square' id='8'></div>
</div>
</div>
<button id='restart-btn'>Restart</button>
<footer>Designed and Programmed by Tim Wörner</footer>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src='./script.js'></script>
</body>