X-Git-Url: https://troll.desast.re/troll.git/blobdiff_plain/e0da785e68b21f4906f4f0bc849bb7bbab1abeb8..1c62a29cdf79f170e5c8375f5a657cac085000b4:/src/test/java/Main.java?ds=inline diff --git a/src/test/java/Main.java b/src/test/java/Main.java index 250f028..1488dee 100644 --- a/src/test/java/Main.java +++ b/src/test/java/Main.java @@ -1,11 +1,18 @@ +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"); + props.setProperty("ehtnicity", "ice"); MultiplayerGameRunner gameRunner = new MultiplayerGameRunner(); + gameRunner.setGameParameters(props); + gameRunner.addAgent(Player1.class); - gameRunner.addAgent(Player1.class); + gameRunner.addAgent(PlayerRand.class); // gameRunner.addAgent("python3 /home/user/player.py");