Add System.in as standard input
This commit is contained in:
parent
19dceafb7d
commit
7c00cd474b
@ -29,3 +29,7 @@ application {
|
||||
// Define the main class for the application.
|
||||
mainClassName = 'fr.lnl.game.client.App'
|
||||
}
|
||||
|
||||
run {
|
||||
standardInput = System.in
|
||||
}
|
||||
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user