X-Git-Url: https://troll.desast.re/troll.git/blobdiff_plain/33d43e0a726d9cb3256489d0b39feebbbb3304a4..6ef0e5acc5766622fac2153819c88fd196b0ea1b:/src/test/java/Main.java diff --git a/src/test/java/Main.java b/src/test/java/Main.java index 956794c..8de5bd7 100644 --- a/src/test/java/Main.java +++ b/src/test/java/Main.java @@ -1,11 +1,17 @@ +import java.util.Properties; + import com.codingame.gameengine.runner.MultiplayerGameRunner; public class Main { public static void main(String[] args) { + Properties props = new Properties(); + props.setProperty("seed", "3"); MultiplayerGameRunner gameRunner = new MultiplayerGameRunner(); + gameRunner.setGameParameters(props); + gameRunner.addAgent(Player1.class); - gameRunner.addAgent(Player2.class); + gameRunner.addAgent(PlayerRand.class); // gameRunner.addAgent("python3 /home/user/player.py");