From cc56d1d41c06a3759d2b545ad45dbd21d6a3baed Mon Sep 17 00:00:00 2001
From: Julien <julienbouin31@gmail.com>
Date: Mon, 8 Apr 2024 10:10:19 +0200
Subject: [PATCH] =?UTF-8?q?ajout=20description=20cr=C3=A9dits=20et=20chang?=
 =?UTF-8?q?ement=20scoreboard?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 client/{src => public/res}/scoreboard.json | 0
 client/src/setHtml.js                      | 2 ++
 server/index.js                            | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)
 rename client/{src => public/res}/scoreboard.json (100%)

diff --git a/client/src/scoreboard.json b/client/public/res/scoreboard.json
similarity index 100%
rename from client/src/scoreboard.json
rename to client/public/res/scoreboard.json
diff --git a/client/src/setHtml.js b/client/src/setHtml.js
index a66a547..3cab046 100644
--- a/client/src/setHtml.js
+++ b/client/src/setHtml.js
@@ -2,6 +2,8 @@ export default class setHtml {
 	static credits() {
 		return `
         <p>Julien Bouin 33%</p>
+		<p> Pseudo : Jogz </p>
+		<p> jeu préféré : Rocket League </p>
 		<p>Rayane Belguebli 33%</p>
 		<p>Mathis Decoster 33%</p>
 		<p>pseudo: Wakly</p>
diff --git a/server/index.js b/server/index.js
index 9efc6a0..50fe49f 100644
--- a/server/index.js
+++ b/server/index.js
@@ -51,7 +51,7 @@ let canShoot = true;
 let LVL2start = false;
 let LVL3start = false;
 let firstAvatar = false;
-const gestionScore = new GestionScore('client/src/scoreboard.json');
+const gestionScore = new GestionScore('client/public/res/scoreboard.json');
 let scores = gestionScore.afficherScores();
 
 io.on('connection', socket => {
-- 
GitLab