Commit 9c9e7008 authored by E201139E's avatar E201139E
Browse files

Merge branch 'main' of https://gitlab.univ-nantes.fr/E200206Q/projet-tutore into main

parents f3d852fb c57b517e
{
"pseudo":177013
p joue :75
p joue :81
p gagne :2
p perdu :8
}
\ No newline at end of file
......@@ -53,11 +53,11 @@ public class ButtonGrilleHautControleur implements ActionListener{
for(Player p : Network.listActivePlayers(HTTP_LOCALHOST)){
String[] n = p.getName().split(":");
boolean init = log.getPL() != log.getG().getInitiator();
String s = log.getG().toString()+init+log.getCompt();
if(n.length == 3){
String s = log.getG().getInitiator().getName()+init+log.getCompt();
if(n.length == 2){
//System.out.println("1:"+n[0]+n[1]+"\n2:"+s);
if(n[0]+n[1] == s){
log.tir_recu(n[2], recup);
if(n[0] == s){
log.tir_recu(n[1], recup);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment