From 046f3ed2e2332f6667e30a42ab7193c49f27b437 Mon Sep 17 00:00:00 2001 From: stiti Date: Wed, 29 May 2024 19:40:01 +0200 Subject: [PATCH] Modifications du jeu --- CodeIgniter-3.1.13/application/views/error_404.php | 6 +++++- CodeIgniter-3.1.13/assets/css/error_404.css | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CodeIgniter-3.1.13/application/views/error_404.php b/CodeIgniter-3.1.13/application/views/error_404.php index 96b2304..54bdc8c 100644 --- a/CodeIgniter-3.1.13/application/views/error_404.php +++ b/CodeIgniter-3.1.13/application/views/error_404.php @@ -3,7 +3,7 @@ 404 - Page non trouvée - +

Erreur 404 🤖 - Cette page n'existe pas

@@ -72,6 +72,10 @@ if (e.code === 'Space') bird.flap(); }); + canvas.addEventListener('click', function () { + bird.flap(); + }); + // Fonction principale pour démarrer le jeu après un compte à rebours de 3 secondes function startGame() { // Afficher le compte à rebours diff --git a/CodeIgniter-3.1.13/assets/css/error_404.css b/CodeIgniter-3.1.13/assets/css/error_404.css index 481a5dd..18f907a 100644 --- a/CodeIgniter-3.1.13/assets/css/error_404.css +++ b/CodeIgniter-3.1.13/assets/css/error_404.css @@ -12,7 +12,7 @@ } canvas { - border: 1px solid black; + border: 3px solid black; display: block; margin: 50px auto; z-index: 1;