- {losingPlayers.map((player, index) => (
-
- {player.id !== winner?.id && (
-
-
{}} index={index} showCircle={false}/>
- {indices[players.findIndex((p) => p.id == player?.id)].ToString("fr")}
-
- )}
-
- ))}
+
+
+ {!IsDaily &&
Nombre de coups : {nbCoup}
}
+
Temps : {temps}s
+
+
+ {indices.map((indice, index) => (
+ //
+
+
Indice {index+1} : {indice.ToString("fr")}
+
+ //
+ ))
+ }
+
diff --git a/cryptide_project/src/Pages/Play.tsx b/cryptide_project/src/Pages/Play.tsx
index b6975b3..7c6ae2b 100644
--- a/cryptide_project/src/Pages/Play.tsx
+++ b/cryptide_project/src/Pages/Play.tsx
@@ -75,10 +75,10 @@ function Play() {
console.error(error);
}
};
-
+
fetchUserInformation();
}, [isLoggedIn]);
-
+
const { setIndicesData, setPersonData, setPersonNetworkData } = useGame();