Uses of Class
edu.wisc.game.parser.RuleParseException
-
Packages that use RuleParseException Package Description edu.wisc.game.engine Top-level Game Server codeedu.wisc.game.parser Tools for parsing rule set descriptionsedu.wisc.game.sql Persistent data structures -
-
Uses of RuleParseException in edu.wisc.game.engine
Methods in edu.wisc.game.engine that throw RuleParseException Modifier and Type Method Description static voidCaptive. main(String[] argv)A complete CGS session.static voidConvertRules. main(String[] argv)Reads Kevin's file such as Games.21-38.json, and converts it to Game Server rule set files.static voidRuleSet. main(String[] argv)static RuleSetAllRuleSets. obtain(String ruleSetName)static RuleSetAllRuleSets. read(File f)Constructors in edu.wisc.game.engine that throw RuleParseException Constructor Description RuleSet(String ruleText)RuleSet(String[] rr)Creates a RuleSet based on the content of a rule set file. -
Uses of RuleParseException in edu.wisc.game.parser
Methods in edu.wisc.game.parser that throw RuleParseException Modifier and Type Method Description static voidToken. main(String[] argv)static Expression.BracketListExpression. mkBracketList(Vector<Token> tokens)static ExpressionExpression. mkCounterOrAtom(Vector<Token> tokens)Extracts one of the sections of a rule line: either the leading counter (int or star), or one of the atoms (paren lists that may include arithmetic expressions or stars)static Expression.ArithmeticExpressionExpression. mkLongestArithmeticExpression(Vector<Token> tokens)Creates the longest ArithmeticExpression starting at the beginning of the tokens array.static Expression.ArithmeticExpressionExpression. mkLongestE1(Vector<Token> tokens)E1 := (E) | Id.Id | Id | Num | [E,E,...]static Vector<Token>Token. tokenize(String x) -
Uses of RuleParseException in edu.wisc.game.sql
Methods in edu.wisc.game.sql that throw RuleParseException Modifier and Type Method Description EpisodeInfoPlayerInfo. episodeToDo()Returns the currently unfinished last episode to be resumed, or a new episode (in the current series or the next series, as the case may be), or null if this player has finished with all series.voidPlayerInfo. initSeries(TrialList trialList)This is usesd when a player is first registered and a PlayerInfo object is first createdstatic GameGeneratorGameGenerator. mkGameGenerator(ParaSet para)Creates a GameGenerator based on a parameter set.voidPlayerInfo. restoreTransientFields()This method should be called after restoring the object from the SQL database, in order to re-create some of the necessary non-persistent structures.Constructors in edu.wisc.game.sql that throw RuleParseException Constructor Description RandomGameGenerator(File ruleSetFile, int[] _nPiecesRange, int[] _nShapesRange, int[] _nColorsRange, Piece.Shape[] _allShapes, Piece.Color[] _allColors)RandomImageGameGenerator(File ruleSetFile, int[] _nPiecesRange, String[] _allImages)
-