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 void
Captive. main(String[] argv)
A complete CGS session.static void
ConvertRules. main(String[] argv)
Reads Kevin's file such as Games.21-38.json, and converts it to Game Server rule set files.static void
RuleSet. main(String[] argv)
static RuleSet
AllRuleSets. obtain(String ruleSetName)
static RuleSet
AllRuleSets. 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 void
Token. main(String[] argv)
static Expression.BracketList
Expression. mkBracketList(Vector<Token> tokens)
static Expression
Expression. 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.ArithmeticExpression
Expression. mkLongestArithmeticExpression(Vector<Token> tokens)
Creates the longest ArithmeticExpression starting at the beginning of the tokens array.static Expression.ArithmeticExpression
Expression. 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 EpisodeInfo
PlayerInfo. 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.void
PlayerInfo. initSeries(TrialList trialList)
This is usesd when a player is first registered and a PlayerInfo object is first createdstatic GameGenerator
GameGenerator. mkGameGenerator(ParaSet para)
Creates a GameGenerator based on a parameter set.void
PlayerInfo. 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)
-