APmanageur Wi-Fi V1.0
This commit is contained in:
1 parent
9a734b6a20
commit
fe6594b964
8 files changed
+50
-50
No files matched your search
+4
-4
@@ -180,7 +180,7 @@
|
||||
padding: 10px 14px;
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(92, 167, 255, 0.12);
|
||||
position: relative;
|
||||
max-width: 660px;
|
||||
max-width: 760px;
|
||||
width: 100%;
|
||||
flex-shrink: 0;
|
||||
transition: all 0.3s ease;
|
||||
@@ -218,7 +218,7 @@
|
||||
canvas {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 200px;
|
||||
height: 230px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.controls-hint {
|
||||
@@ -291,7 +291,7 @@
|
||||
</div>
|
||||
|
||||
<div class="canvas-wrap" id="canvasWrap">
|
||||
<canvas id="dinoCanvas" width="640" height="200"></canvas>
|
||||
<canvas id="dinoCanvas" width="720" height="230"></canvas>
|
||||
<div id="gameOverlay" class="overlay-message" style="display:none">
|
||||
<h2 id="dinoGameOverText">G A M E O V E R</h2>
|
||||
<button id="dinoRestartBtn" class="restart-btn" onclick="resetGame()">🔄 REJOUER (Espace)</button>
|
||||
@@ -421,7 +421,7 @@
|
||||
const overlay = document.getElementById('gameOverlay');
|
||||
const canvasWrap = document.getElementById('canvasWrap');
|
||||
|
||||
const GROUND_Y = 165;
|
||||
const GROUND_Y = 190;
|
||||
let highScore = parseInt(localStorage.getItem('ap_dino_hi') || '0', 10);
|
||||
hiScoreEl.textContent = String(highScore).padStart(5, '0');
|
||||
|
||||
|
||||
Reference in new issue
Block a user