public TicTacToe() {
List<XYLocation> moves = new List<XYLocation>();
for (int i = 0; i < 3; i++) {
for (int j = 0; j < 3; j++) {
XYLocation loc = new XYLocation(i, j);
moves.Add(loc);
}
}
initialState.put("moves", moves);
initialState.put("player", "X");
initialState.put("utility", new int(0));
initialState.put("board", new TicTacToeBoard());
initialState.put("level", new int(0));
presentState = initialState;
}