Package edu.wisc.game.engine
Class AutomaticRuleGenerator
java.lang.Object
edu.wisc.game.engine.AutomaticRuleGenerator
public class AutomaticRuleGenerator extends Object
An AutomaticRuleGenerator is used to create multiple rule set
files based on the same pattern.
-
Constructor Summary
Constructors Constructor Description AutomaticRuleGenerator(Long seed, ParaSet _para)
Ensures that the para table has the default (legacy) values for "colors" and "shapes", if none are supplied in the CSV file. -
Method Summary
Modifier and Type Method Description String[]
getColorNames()
String[]
getShapeNames()
static void
main(String[] argv)
Vector<String>
varReport()
-
Constructor Details
-
AutomaticRuleGenerator
Ensures that the para table has the default (legacy) values for "colors" and "shapes", if none are supplied in the CSV file.- Throws:
RuleParseException
-
-
Method Details
-
getColorNames
- Throws:
RuleParseException
-
getShapeNames
- Throws:
RuleParseException
-
main
public static void main(String[] argv) throws IOException, IllegalInputException, RuleParseException -
varReport
- Throws:
RuleParseException
-