summaryrefslogtreecommitdiff
path: root/tictactoe/morpion.html
diff options
context:
space:
mode:
Diffstat (limited to 'tictactoe/morpion.html')
-rwxr-xr-xtictactoe/morpion.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/tictactoe/morpion.html b/tictactoe/morpion.html
index 87ae9df..c53ba55 100755
--- a/tictactoe/morpion.html
+++ b/tictactoe/morpion.html
@@ -4,7 +4,8 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Tic-Tac-Toe</title>
+ <title>Game | Tic-Tac-Toe | Minteck Arcade</title>
+ <link rel="icon" href="/_general/favicon.svg" type="image/svg+xml">
<style>
body {
background: black;
@@ -40,7 +41,8 @@
<script src="morpion/online.js"></script>
</head>
<body>
- <div style="display:flex;align-items:center;justify-content: center;position:fixed;inset: 0;z-index:5;">
+<iframe src="/_general/navbar.html" style="position: fixed;z-index: 9999999999;top: 0;border: none;left: 0;right: 0;height: 32px;width: 100%;"></iframe>
+ <div style="display:flex;align-items:center;justify-content: center;position:fixed;inset: 0;z-index:5;top:32px;">
<div id="loader" style="color: white;text-align: center;">
Loading...
</div>
@@ -82,14 +84,14 @@
<div id="wait" style="position:fixed;inset: 0;z-index:10;cursor:wait;display:none;"></div>
<pre id="instructions" style="position:fixed;bottom:0;left:0;color:white;margin:0;">// ML Model Training
model.addTrainedGame();</pre>
- <div id="stats" style="position:fixed;top:0;left:0;color:white;margin:0;font-family:monospace;">
+ <div id="stats" style="position:fixed;top:32px;left:0;color:white;margin:0;font-family:monospace;">
<div id="online-credits" style="display:none;">Online mode made with ❤️ for Twi</div>
<div id="stats-left">
Thought Moves: <span id="stat-thought">0</span><br>Random Moves:&nbsp; <span id="stat-random">0</span><br>Randomness:&nbsp;&nbsp;&nbsp; <span id="stat-randomness">0.00%</span><br>Game State:&nbsp;&nbsp;&nbsp; <span id="stat-state">NONE</span><br>Learned Games: <span id="stat-games"><script>
document.getElementById("stat-games").innerText = modelTrainedGames;
</script></span><span id="stat-goal">/5000</span> (<span id="stat-modelsize">...</span>)<br>Played Games:&nbsp; <span id="stat-played">-</span></div>
</div>
- <div id="last-games" style="text-align:right;position:fixed;top:0;right:0;color:white;margin:0;font-family:monospace;">-</div>
+ <div id="last-games" style="text-align:right;position:fixed;top:32px;right:0;color:white;margin:0;font-family:monospace;">-</div>
<div id="online-restart-btn" style="text-align:left;position:fixed;bottom:0;left:0;color:white;margin:0;font-family:monospace;z-index:999999;">
<button disabled id="resetbtn" onclick="reset();" style="padding:10px 20px;background:black;color:white;border:1px solid white;border-bottom:none;border-left:none;">Restart Game</button>
</div>