-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (47 loc) · 2.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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@700&display=swap">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Play TicTacToe and try to beat the unbeatable bot">
<title>TicTacToe</title>
<link href="src/style.css" rel="stylesheet">
<script src="src/game.js" defer></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/gsap.min.js"></script>
</head>
<body>
<div class="appContainer">
<svg class="appBackground"></svg>
<header class="playerInformation">
<div class="player1 playerInputContainer">
<input class="player1Name" placeholder="TicToe" maxlength="10">
<input class="player1Marker" placeholder="X" maxlength="1">
</div>
<div class="player2 playerInputContainer">
<input class="player2Name" placeholder="TacToe" maxlength="10">
<input class="player2Marker" placeholder="O" maxlength="1">
</div>
</header>
<main class="gameBoard">
</main>
<footer class="navigation">
<button class="button restartButton">Restart</button>
<button class="button switchOpponentButton">Player vs CPU</button>
<div id="codeWriter">
<p>Code written by:</p>
<a id="githubLink" href="https://github.com/Godnoken" target="_blank" rel="noopener">Godnoken
<svg id="githubIcon" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path
d="M12 14c-7-1-6-5-4-7L7 3l3 2h7l2-2v4c1 2 2 6-4 7l3 4c1 1 0 3-2 2a18 18 0 0 0-7 0c-1 1-2-1-2-2l2-2H6c-2 1-3-2-3-3"
stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</a>
</div>
</footer>
</div>
</body>
</html>