diff --git a/index.html b/index.html
index ca6d0b2..382e715 100644
--- a/index.html
+++ b/index.html
@@ -6276,7 +6276,7 @@
-
@@ -14478,13 +14478,13 @@ ${vpnBadgeTopo}
};
const GAME_DIMENSIONS = {
- tetris: { maxWidth: '570px', height: '515px' },
- dino: { maxWidth: '710px', height: '340px' },
- zipline: { maxWidth: '570px', height: '500px' },
- demineur: { maxWidth: '590px', height: '510px' },
- pacman: { maxWidth: '570px', height: '505px' },
- spaceinvaders: { maxWidth: '580px', height: '495px' },
- '2048': { maxWidth: '570px', height: '465px' }
+ tetris: { maxWidth: '650px', height: '560px' },
+ dino: { maxWidth: '800px', height: '390px' },
+ zipline: { maxWidth: '650px', height: '560px' },
+ demineur: { maxWidth: '680px', height: '560px' },
+ pacman: { maxWidth: '650px', height: '580px' },
+ spaceinvaders: { maxWidth: '660px', height: '560px' },
+ '2048': { maxWidth: '650px', height: '540px' }
};
window.switchEasterEggGame = function (gameName) {
diff --git a/jeux/2048.html b/jeux/2048.html
index 48bd9f1..a894db0 100644
--- a/jeux/2048.html
+++ b/jeux/2048.html
@@ -123,13 +123,13 @@
background: var(--card-bg);
border: 1px solid var(--border);
border-radius: 14px;
- padding: 8px 12px;
+ padding: 10px 14px;
box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 20px rgba(92,167,255,0.1);
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
- max-width: 360px;
+ max-width: 410px;
position: relative;
flex-shrink: 0;
}
@@ -219,13 +219,13 @@
position: relative;
background: var(--grid-bg);
border-radius: 10px;
- width: 296px;
- height: 296px;
- padding: 8px;
+ width: 346px;
+ height: 346px;
+ padding: 10px;
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(4, 1fr);
- gap: 8px;
+ gap: 10px;
touch-action: none;
box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
}
@@ -239,23 +239,23 @@
.tile-layer {
position: absolute;
- top: 8px;
- left: 8px;
- width: 280px;
- height: 280px;
+ top: 10px;
+ left: 10px;
+ width: 326px;
+ height: 326px;
pointer-events: none;
}
.tile {
position: absolute;
- width: 64px;
- height: 64px;
+ width: 74px;
+ height: 74px;
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
- font-size: 24px;
+ font-size: 26px;
transition: transform 0.11s ease-in-out, opacity 0.11s ease-in-out;
box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
@@ -617,8 +617,8 @@
const layer = document.getElementById('tileLayer');
layer.innerHTML = '';
- const CELL_SIZE = 64;
- const GAP = 8;
+ const CELL_SIZE = 74;
+ const GAP = 10;
for (let r = 0; r < SIZE; r++) {
for (let c = 0; c < SIZE; c++) {
diff --git a/jeux/demineur.html b/jeux/demineur.html
index eec5195..121f626 100644
--- a/jeux/demineur.html
+++ b/jeux/demineur.html
@@ -151,12 +151,12 @@
background: var(--card-bg);
border: 1px solid var(--border);
border-radius: 14px;
- padding: 8px 12px;
+ padding: 10px 14px;
box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 20px rgba(92,167,255,0.1);
display: flex;
flex-direction: column;
align-items: center;
- max-width: 540px;
+ max-width: 640px;
width: 100%;
flex-shrink: 0;
}
@@ -496,8 +496,8 @@
const gridEl = document.getElementById('mineGrid');
gridEl.innerHTML = '';
- const cellSize = cols > 16 ? 15 : (cols > 9 ? 18 : 24);
- const cellFont = cols > 16 ? '10px' : (cols > 9 ? '11px' : '13px');
+ const cellSize = cols > 16 ? 18 : (cols > 9 ? 22 : 28);
+ const cellFont = cols > 16 ? '11px' : (cols > 9 ? '13px' : '16px');
document.documentElement.style.setProperty('--cell-size', cellSize + 'px');
document.documentElement.style.setProperty('--cell-font', cellFont);
gridEl.style.gridTemplateColumns = `repeat(${cols}, ${cellSize}px)`;
diff --git a/jeux/dino.html b/jeux/dino.html
index 77b8ad7..a68f00a 100644
--- a/jeux/dino.html
+++ b/jeux/dino.html
@@ -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 @@
-
+
G A M E O V E R
@@ -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');
diff --git a/jeux/pacman.html b/jeux/pacman.html
index c7e38cf..63cc93f 100644
--- a/jeux/pacman.html
+++ b/jeux/pacman.html
@@ -142,7 +142,7 @@
display: flex;
flex-direction: column;
align-items: center;
- max-width: 480px;
+ max-width: 500px;
width: 100%;
flex-shrink: 0;
}
@@ -268,7 +268,7 @@
-
+
GAME OVER
@@ -428,7 +428,7 @@
const canvas = document.getElementById('pacmanCanvas');
const ctx = canvas.getContext('2d');
- const TILE = 18;
+ const TILE = 22;
const COLS = 19;
const ROWS = 21;
diff --git a/jeux/spaceinvaders.html b/jeux/spaceinvaders.html
index c6f1a09..6f09bd1 100644
--- a/jeux/spaceinvaders.html
+++ b/jeux/spaceinvaders.html
@@ -156,7 +156,7 @@
display: flex;
flex-direction: column;
align-items: center;
- max-width: 520px;
+ max-width: 580px;
width: 100%;
flex-shrink: 0;
}
@@ -285,7 +285,7 @@
-
+
GAME OVER
diff --git a/jeux/tetris.html b/jeux/tetris.html
index 77f0885..cbf4122 100644
--- a/jeux/tetris.html
+++ b/jeux/tetris.html
@@ -145,8 +145,8 @@
.sidebar {
display: flex;
flex-direction: column;
- gap: 6px;
- width: 146px;
+ gap: 7px;
+ width: 154px;
}
.panel-box {
background: var(--panel-box);
@@ -275,7 +275,7 @@
-
+
GAME OVER
Score: 0
@@ -284,9 +284,9 @@