-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTicTacToe.html
94 lines (90 loc) · 3.19 KB
/
TicTacToe.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
<!DOCTYPE html>
<html lang="en">
<!-- Author: Streich, Marko -->
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Tic Tac Toe</title>
<link rel="icon" href="images/tictactoe.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css"
href="style/responsive_standard.css">
<link rel="stylesheet" type="text/css" href="style/tictactoe.css">
<link rel="stylesheet" type="text/css" href="style/gamestats.css">
<script src="js/tictactoeBase.js"></script>
<script src="js/tictactoeTogether.js"></script>
</head>
<body id="bodyID">
<header>
<h1>GAMES</h1>
</header>
<div class="wrapper" id="tictactoewrapper">
<nav class="col-2">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="tron.html">Tron</a></li>
<li><a href="tronAlone.html">Tron Alone</a></li>
<li class="active"><a href="TicTacToe.html">Tic Tac Toe</a></li>
<li><a href="TicTacToeAlone.html">Tic Tac Toe Alone</a></li>
</ul>
</nav>
<main class="col-8">
<div class="center">
<div>
<button class="ticbutton tichover" id="b11"
onclick="change(11)">
</button>
<button class="ticbutton tichover" id="b12"
onclick="change(12)">
</button>
<button class="ticbutton tichover" id="b13"
onclick="change(13)">
</button>
</div>
<div class="">
<button class="ticbutton tichover" id="b21"
onclick="change(21)">
</button>
<button class="ticbutton tichover" id="b22"
onclick="change(22)">
</button>
<button class="ticbutton tichover" id="b23"
onclick="change(23)">
</button>
</div>
<div class="">
<button class="ticbutton tichover" id="b31"
onclick="change(31)">
</button>
<button class="ticbutton tichover" id="b32"
onclick="change(32)">
</button>
<button class="ticbutton tichover" id="b33"
onclick="change(33)">
</button>
</div>
<p id="who">X ist an der Reihe.</p>
<div>
<button class="restarter" onclick="restart()">Neustart</button>
</div>
</div>
</main>
<aside class="col-2">
<table id="gameStats">
<tr id="rowPlayerOne">
<td class="statCell" id="namePlayerOne">X</td>
<td class="statCell" id="statPlayerOne">0</td>
</tr>
<tr id="rowPlayerTwo" >
<td class="statCell" id="namePlayerTwo">O</td>
<td class="statCell" id="statPlayerTwo">0</td>
</tr>
</table>
</aside>
</div>
<footer class="col-12">
<p>
<small>Marko Streich</small>
</p>
</footer>
</body>
</html>