diff --git a/S2/DevWeb/Projet/src/main/java/uppa/project/json/websocket/SimpleUser.java b/S2/DevWeb/Projet/src/main/java/uppa/project/json/websocket/SimpleUser.java
index 74b5686..0269958 100644
--- a/S2/DevWeb/Projet/src/main/java/uppa/project/json/websocket/SimpleUser.java
+++ b/S2/DevWeb/Projet/src/main/java/uppa/project/json/websocket/SimpleUser.java
@@ -6,9 +6,18 @@ public class SimpleUser {
private final int id;
private final String username;
+ private final int nbPlayedGames;
+ private final int nbWin;
+ private final double rigthClickPercentRate;
+ private final double rapidClickPercentRate;
+
public SimpleUser(User user) {
this.id = user.getId().intValue();
this.username = user.getUsername();
+ this.nbPlayedGames = user.getNbPlayedGame();
+ this.nbWin = user.getNbWin();
+ this.rigthClickPercentRate = user.getRightClickPercentRate();
+ this.rapidClickPercentRate = user.getRapidClickPercentRate();
}
public int getId() {
@@ -18,4 +27,20 @@ public class SimpleUser {
public String getUsername() {
return username;
}
-}
\ No newline at end of file
+
+ public int getNbPlayedGames() {
+ return nbPlayedGames;
+ }
+
+ public int getNbWin() {
+ return nbWin;
+ }
+
+ public double getRigthClickPercentRate() {
+ return rigthClickPercentRate;
+ }
+
+ public double getRapidClickPercentRate() {
+ return rapidClickPercentRate;
+ }
+}
diff --git a/S2/DevWeb/Projet/src/main/webapp/WEB-INF/pages/lobby.jsp b/S2/DevWeb/Projet/src/main/webapp/WEB-INF/pages/lobby.jsp
index 2519845..bfe3343 100644
--- a/S2/DevWeb/Projet/src/main/webapp/WEB-INF/pages/lobby.jsp
+++ b/S2/DevWeb/Projet/src/main/webapp/WEB-INF/pages/lobby.jsp
@@ -10,15 +10,15 @@
| Utilisateur | +Nom d'utilisateur | +Nombre de parties jouées | +Nombre de victoires |
|---|