X-Git-Url: https://troll.desast.re/troll.git/blobdiff_plain/3718f0ba0107aba513f5bca0af89b5840d91cbca..87034448efb74251e5d8939273a69a1f6a7d3355:/src/test/java/Main.java diff --git a/src/test/java/Main.java b/src/test/java/Main.java index 79bfaed..cbb15e8 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(PlayerRand.class); + gameRunner.addAgent(PlayerCheatSmart.class); // gameRunner.addAgent("python3 /home/user/player.py");