Update 2025-04-17_20:04:08
This commit is contained in:
36
static/index.html
Normal file
36
static/index.html
Normal file
@ -0,0 +1,36 @@
|
||||
<!-- /var/www/minitactix/static/index.html -->
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>MiniTactix 4x4</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="manifest" href="manifest.json">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>MiniTactix 4x4</h1>
|
||||
<p id="info"></p>
|
||||
<div id="symbol-chooser">
|
||||
<p>Choose your symbol:</p>
|
||||
<button onclick="startGame('X')">X</button>
|
||||
<button onclick="startGame('O')">O</button>
|
||||
</div>
|
||||
<div id="board" class="grid hidden"></div>
|
||||
<p id="status"></p>
|
||||
<button id="restart" class="hidden" onclick="location.reload()">Play Again</button>
|
||||
</div>
|
||||
|
||||
<script src="app.js"></script>
|
||||
<script>
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', () => {
|
||||
navigator.serviceWorker.register('service-worker.js')
|
||||
})
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user