Update statement to stabilize rule changes
[troll.git] / src / test / java / Main.java
index 956794c..1488dee 100644 (file)
@@ -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(Player2.class);
+        gameRunner.addAgent(PlayerRand.class);
         
         // gameRunner.addAgent("python3 /home/user/player.py");