1488dee61a62a540f25aec42655ddce8304375a3
[troll.git] / src / test / java / Main.java
1 import java.util.Properties;
2
3 import com.codingame.gameengine.runner.MultiplayerGameRunner;
4
5 public class Main {
6     public static void main(String[] args) {
7         Properties props = new Properties();
8         props.setProperty("seed", "3");
9         props.setProperty("ehtnicity", "ice");
10         
11         MultiplayerGameRunner gameRunner = new MultiplayerGameRunner();
12         gameRunner.setGameParameters(props);
13
14         gameRunner.addAgent(Player1.class);
15         gameRunner.addAgent(PlayerRand.class);
16         
17         // gameRunner.addAgent("python3 /home/user/player.py");
18         
19         // The first league is classic tic-tac-toe
20         gameRunner.setLeagueLevel(1);
21         // The second league is ultimate tic-tac-toe
22         // gameRunner.setLeagueLevel(2);
23         
24         gameRunner.start();
25     }
26 }