public class GameRunner
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GameRunner.GameScore
A holder for a run on a single game.
|
static class |
GameRunner.GameStatus
Different results of a game.
|
Constructor and Description |
---|
GameRunner(java.lang.String userManagerClassname,
boolean hasGUI,
boolean printOutput)
Create a new GameRunner to run a set of games using userManagerClassname.
|
Modifier and Type | Method and Description |
---|---|
GameRunner.GameScore[] |
runFiles(java.lang.String[] fNames)
Run the userManager on the files in fNames, assuming they are in directory Maps/*
|
GameRunner.GameScore[] |
runRandom(int n)
Run the userManager on n random seeds.
|
GameRunner.GameScore[] |
runSeeds(long[] seeds)
Run the userManager on seeds seeds
|
public GameRunner(java.lang.String userManagerClassname, boolean hasGUI, boolean printOutput)
public GameRunner.GameScore[] runFiles(java.lang.String[] fNames)
public GameRunner.GameScore[] runSeeds(long[] seeds)
public GameRunner.GameScore[] runRandom(int n)