1 import java.util.Properties;
3 import com.codingame.gameengine.runner.MultiplayerGameRunner;
6 public static void main(String[] args) {
7 Properties props = new Properties();
8 props.setProperty("seed", "3");
9 props.setProperty("ehtnicity", "ice");
11 MultiplayerGameRunner gameRunner = new MultiplayerGameRunner();
12 gameRunner.setGameParameters(props);
14 gameRunner.addAgent(Player1.class);
15 gameRunner.addAgent(PlayerRand.class);
17 // gameRunner.addAgent("python3 /home/user/player.py");
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);