}
+ renderCenterRightControls={({ nextSlide }) => }
+ adaptiveHeight
+ wrapAround
+ slidesToShow={1}
+ cellSpacing={10}
+ key={carouselKey}
+ >
@@ -117,7 +138,7 @@ const ScoreBoard: React.FC<{ Player: User }> = ({ Player }) => {
: {Player.mastermindStats.avgNbTry.toFixed(2)}
-
Enigme facile
+
: {Player.easyEnigmaStats.nbGames}
: {Player.easyEnigmaStats.nbWins}
@@ -126,14 +147,14 @@ const ScoreBoard: React.FC<{ Player: User }> = ({ Player }) => {
: {Player.easyEnigmaStats.avgTime.toFixed(2) + "s"}
-
Enigme moyenne
+
: {Player.mediumEnigmaStats.nbGames}
: {Player.mediumEnigmaStats.bestScore}
: {Player.mediumEnigmaStats.avgNbTry.toFixed(2)}
-
Enigme difficile
+
: {Player.hardEnigmaStats.nbGames}
: {Player.hardEnigmaStats.nbWins}
@@ -142,7 +163,7 @@ const ScoreBoard: React.FC<{ Player: User }> = ({ Player }) => {
: {Player.hardEnigmaStats.avgTime.toFixed(2) + "s"}
-
En ligne
+
: {Player.onlineStats.nbGames}
: {Player.onlineStats.nbWins}
@@ -151,7 +172,7 @@ const ScoreBoard: React.FC<{ Player: User }> = ({ Player }) => {
-
+
@@ -257,7 +278,7 @@ const ScoreBoard: React.FC<{ Player: User }> = ({ Player }) => {
-
+
diff --git a/cryptide_project/src/Pages/NewPlay.tsx b/cryptide_project/src/Pages/NewPlay.tsx
index c300498..2ab6633 100644
--- a/cryptide_project/src/Pages/NewPlay.tsx
+++ b/cryptide_project/src/Pages/NewPlay.tsx
@@ -255,7 +255,7 @@ function NewPlay() {
{/* Lobbies */}
-
diff --git a/cryptide_project/src/Translations/en.json b/cryptide_project/src/Translations/en.json
index 33ca057..6845448 100644
--- a/cryptide_project/src/Translations/en.json
+++ b/cryptide_project/src/Translations/en.json
@@ -140,6 +140,8 @@
"score.online": "Online",
"score.tab.stat" : "Your Stats",
+ "score.tab.quoti" : "Daily",
+ "score.tab.hebdo" : "Weekly",
"lobby.players" : "Players",
"lobby.bienvenue": "Welcome to your lobby!",
diff --git a/cryptide_project/src/Translations/fr.json b/cryptide_project/src/Translations/fr.json
index 68670aa..1b796ff 100644
--- a/cryptide_project/src/Translations/fr.json
+++ b/cryptide_project/src/Translations/fr.json
@@ -138,6 +138,8 @@
"score.online" : "En ligne",
"score.tab.stat" : "Vos Stats",
+ "score.tab.quoti" : "Quotidien",
+ "score.tab.hebdo" : "Hebdomadaire",
"lobby.players" : "Joueurs",
"lobby.bienvenue" : "Bienvenue dans votre lobby !",