diff --git a/client/build.gradle b/client/build.gradle index 41b271d..bfc0abb 100644 --- a/client/build.gradle +++ b/client/build.gradle @@ -29,3 +29,7 @@ application { // Define the main class for the application. mainClassName = 'fr.lnl.game.client.App' } + +run { + standardInput = System.in +} diff --git a/client/src/main/java/fr/lnl/game/client/view/ViewManager.java b/client/src/main/java/fr/lnl/game/client/view/ViewManager.java index de0f468..eac0fdf 100644 --- a/client/src/main/java/fr/lnl/game/client/view/ViewManager.java +++ b/client/src/main/java/fr/lnl/game/client/view/ViewManager.java @@ -31,7 +31,7 @@ public class ViewManager { Player player = game.getCurrentPlayer(); players.get(game.getCurrentPlayer()).getView().show(); game.play(); - System.out.println("Le joueur ordinateur numéro" + player.getId() + " a joué"); + System.out.println("Le joueur ordinateur numéro " + player.getId() + " a joué"); System.out.println("Il a joué l'action: " + game.getSelectedAction()); } }