Skip to content

Commit

Permalink
fixed some issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuvalz19500 committed Sep 13, 2023
1 parent ebea769 commit af6e858
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static void main(String[] args) throws InterruptedException {
}

static private void printSingleGameResults(GameExecutorResults results, int gameNumber){
String SINGE_GAME_REPORT_TEMPLATE = "Starting Game No.%d Summary: rounds: %d, SW: %d\n";
String SINGE_GAME_REPORT_TEMPLATE = "Starting Game No.%d Summary: rounds: %d, SW: %.2f\n";
String game_message = String.format(SINGE_GAME_REPORT_TEMPLATE, gameNumber, results.totalRounds(), results.avgGain());
logger.debug(game_message);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Settings/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ public class Settings {
public static boolean DEBUG = false;

// agent sleep time between every message he reads (0 to disable sleep all together)
public static int AGENT_SLEEP_TIME = 50;
public static int AGENT_SLEEP_TIME = 1;
}

0 comments on commit af6e858

Please sign in to comment.