🎮ArcadeLab

Mbappé : Défi Supersonique

by ApexFalcon85
117 lines3.2 KB
▶ Play
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Mbappé : Défi Supersonique</title>
<style>
  * { box-sizing: border-box; margin: 0; padding: 0; user-select: none; }
  body {
    background: #080c14;
    color: #fff;
    font-family: 'Segoe UI', system-ui, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
  }
  #game-wrapper {
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(37, 99, 235, 0.3);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #1e293b;
  }
  canvas {
    display: block;
    background: #14532d;
  }
  .overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.96));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    z-index: 10;
  }
  .hidden { display: none !important; }
  h1 {
    font-size: 2.8rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #3b82f6, #ffffff, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  }
  .subtitle { color: #94a3b8; font-size: 1rem; margin-bottom: 28px; }
  .jersey-select { display: flex; gap: 20px; margin-bottom: 30px; }
  .jersey-btn {
    background: #1e293b;
    border: 2px solid #334155;
    border-radius: 12px;
    padding: 16px 24px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    width: 170px;
  }
  .jersey-btn:hover { transform: translateY(-4px); border-color: #60a5fa; }
  .jersey-btn.active { border-color: #fbbf24; background: #1e3a8a; box-shadow: 0 0 20px rgba(251, 191, 36, 0.35); }
  .jersey-icon {
    width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.2rem;
  }
  .fr-icon { background: #1d4ed8; border: 3px solid #ef4444; color: #fff; }
  .rm-icon { background: #f8fafc; border: 3px solid #eab308; color: #0f172a; }
  .start-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 16px 44px;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
    transition: transform 0.15s, box-shadow 0.15s;
  }
  .start-btn:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(37, 99, 235, 0.75); }
  .controls-box {
    margin-top: 26px;
    display: flex;
    gap: 18px;
    font-size: 0.85rem;
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.7);
    padding: 10px 20px;
    border-radius: 8px;
  }
  kbd {
    background: #0f172a;
    border: 1px solid #475569;
    border-radius: 4px;
    padding: 2px 6px;
    font-family: monospace;
    color: #fbbf24;
  }
</style>
</head>
<body>

<div id="game-wrapper">
  <canvas id="gameCanvas" width="1000" height="600"></canvas>

  <!-- Écran d'accueil -->
  <div id="start-screen"

Game Source: Mbappé : Défi Supersonique

Creator: ApexFalcon85

Libraries: none

Complexity: moderate (117 lines, 3.2 KB)

The full source code is displayed above on this page.

Remix Instructions

To remix this game, copy the source code above and modify it. Add a ARCADELAB header at the top with "remix_of: mbapp-d-fi-supersonique-apexfalcon85" to link back to the original. Then publish at arcadelab.ai/publish.