-
Notifications
You must be signed in to change notification settings - Fork 0
/
room.html
46 lines (40 loc) · 1.78 KB
/
room.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./styles.css" />
<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png" />
<link rel="manifest" href="/icons/site.webmanifest" />
<link rel="mask-icon" href="/icons/safari-pinned-tab.svg" color="#5bbad5" />
<link rel="shortcut icon" href="/icons/favicon.ico" />
<meta name="apple-mobile-web-app-title" content="Tic Tac Toe" />
<meta name="application-name" content="Tic Tac Toe" />
<meta name="msapplication-TileColor" content="#0068ca" />
<meta name="msapplication-config" content="/icons/browserconfig.xml" />
<meta name="theme-color" content="#ffffff" />
<link
rel="preload"
as="font"
href="/Inter.latin.var.woff2"
type="font/woff2"
crossorigin="anonymous"
/>
<title>Tic Tac Toe</title>
</head>
<body class="flex flex-col justify-center min-h-screen align-center">
<p class="mx-auto" role="status" id="loading">Loading...</p>
<main id="main" class="flex-col items-center hidden mx-auto">
<h1 id="title" class="text-lg font-bold">Tic Tac Toe</h1>
<p>You play as <span id="player" class="font-bold"></span>.</p>
<p id="current-player"></p>
<div class="grid grid-cols-3 grid-rows-3" id="game-container"></div>
<button id="restart" class="p-2 px-4 mt-4 bg-blue-100 border-2 border-blue-400 rounded">
Restart
</button>
</main>
<script type="module" src="./room.js"></script>
</body>
</html>