This commit is contained in:
Lorenzo Iovino 2017-07-07 01:19:40 +02:00
parent ada17053d8
commit bc64f03ab3
6 changed files with 118 additions and 67 deletions

View file

@ -180,7 +180,7 @@ public class ThreadProxy implements Callable<Boolean> {
System.out.println("TUTTI I GIOCATORI HANNO CONSEGNATO IN TEMPO");
}
//match.setUndefinedScorePlayersToZero();
match.setUndefinedScorePlayersToZero();
while(true) {
Message msg = new Message("FINALSCORE", "SERVER", "", match.getMatchPlayersScoreAsStringList());

View file

@ -73,7 +73,7 @@ public class ReceiveWords implements Callable<Boolean>{
if(match.allPlayersSendedHisScore()){
System.out.println("TIMEOUT BLOCCATO, OK");
// match.setUndefinedScorePlayersToZero();
match.setUndefinedScorePlayersToZero();
matchTimeout.cancel(true);
DatagramChannel.close();