Uses of Class
net.royalur.model.GameSettings
Packages that use GameSettings
Package
Description
-
Uses of GameSettings in net.royalur
Methods in net.royalur that return GameSettingsModifier and TypeMethodDescriptionGameBuilder.getSettings()Get the settings of the game being built.Methods in net.royalur with parameters of type GameSettingsModifier and TypeMethodDescriptionstatic GameGame.create(GameSettings settings) Creates a simple game with custom settings.GameBuilder.replaceSettings(GameSettings settings) Create a copy of this game builder with new settings.Constructors in net.royalur with parameters of type GameSettingsModifierConstructorDescriptionGameBuilder(GameSettings settings, RuleSetProvider ruleSetProvider) Instantiates a new game builder. -
Uses of GameSettings in net.royalur.cli
Fields in net.royalur.cli declared as GameSettingsFields in net.royalur.cli with type parameters of type GameSettingsModifier and TypeFieldDescriptionstatic final Map<String,GameSettings> CLIConstants.SETTINGS_BY_CLI_NAMEMethods in net.royalur.cli with parameters of type GameSettingsModifier and TypeMethodDescriptionstatic StringCLIConstants.getCLIName(GameSettings settings) static StringCLIConstants.getCLINameOrNull(GameSettings settings) -
Uses of GameSettings in net.royalur.lut
Fields in net.royalur.lut declared as GameSettingsMethods in net.royalur.lut that return GameSettingsMethods in net.royalur.lut with parameters of type GameSettingsModifier and TypeMethodDescriptionstatic GameStateEncodingGameStateEncoding.createSimple(GameSettings settings) Creates an encoding for a simple set of rules.Method parameters in net.royalur.lut with type arguments of type GameSettingsModifier and TypeMethodDescriptionstatic LutLut.read(JsonNotation jsonNotation, Function<GameSettings, GameStateEncoding> encodingGenerator, File file) static LutLut.read(JsonNotation jsonNotation, Function<GameSettings, GameStateEncoding> encodingGenerator, FileChannel channel) static LutLut.read(JsonNotation jsonNotation, Function<GameSettings, GameStateEncoding> encodingGenerator, DataSource source) Constructors in net.royalur.lut with parameters of type GameSettingsModifierConstructorDescriptionLutMetadata(GameSettings gameSettings, ValueType valueType) LutMetadata(GameSettings gameSettings, ValueType valueType, Map<String, com.fasterxml.jackson.databind.JsonNode> additionalMetadata) LutTrainer(GameSettings settings, GameStateEncoding encoding, ValueType trainingValueType, JsonNotation jsonNotation) SimpleGameStateEncoding(GameSettings settings) -
Uses of GameSettings in net.royalur.model
Fields in net.royalur.model declared as GameSettingsModifier and TypeFieldDescriptionstatic final GameSettingsGameSettings.ASEBThe settings used for Aseb.static final GameSettingsGameSettings.BLITZThe settings used for Blitz.static final GameSettingsGameSettings.FINKELThe rules used in the YouTube video Tom Scott vs.static final GameSettingsGameSettings.FINKEL_2PThe Finkel rule set, but with 2 pieces instead of 7.static final GameSettingsGameSettings.MASTERSThe settings proposed by James Masters.static final GameSettingsGameSettings.MASTERS_FOUR_DICEThe settings proposed by James Masters, but with four dice instead of three.Methods in net.royalur.model that return GameSettingsModifier and TypeMethodDescriptionGameSettings.withBoardShape(BoardShape boardShape) Generates new game settings withboardShape.GameSettings.withBoardShape(BoardShapeFactory boardShapeFactory) Generates new game settings with a board shape fromboardShapeFactory.GameSettings.withCapturesGrantExtraRolls(boolean capturesGrantExtraRolls) Generates new game settings withcapturesGrantExtraRolls.GameSettings.withDice(DiceFactory diceFactory) Generates new game settings withdiceFactory.Generates new game settings withpaths.GameSettings.withPaths(PathPairFactory pathsFactory) Generates new game settings with paths generated bypathsFactory.GameSettings.withRosettesGrantExtraRolls(boolean rosettesGrantExtraRolls) Generates new game settings withrosettesGrantExtraRolls.GameSettings.withSafeRosettes(boolean safeRosettes) Generates new game settings withsafeRosettes.GameSettings.withStartingPieceCount(int startingPieceCount) Generates new game settings withstartingPieceCount. -
Uses of GameSettings in net.royalur.notation
Methods in net.royalur.notation that return GameSettingsModifier and TypeMethodDescriptionJsonNotation.readGameSettings(com.fasterxml.jackson.databind.node.ObjectNode json) Methods in net.royalur.notation with parameters of type GameSettingsModifier and TypeMethodDescriptionvoidJsonNotation.writeGameSettings(com.fasterxml.jackson.core.JsonGenerator generator, GameSettings settings) -
Uses of GameSettings in net.royalur.rules
Methods in net.royalur.rules that return GameSettingsMethods in net.royalur.rules with parameters of type GameSettingsModifier and TypeMethodDescriptionRuleSetProvider.create(GameSettings settings, GameMetadata metadata) Creates a rule set to match the given settings and game metadata.static SimpleRuleSetRuleSet.createSimple(GameSettings settings) Creates a simple rule set that follows the given game settings. -
Uses of GameSettings in net.royalur.rules.simple
Methods in net.royalur.rules.simple with parameters of type GameSettingsModifier and TypeMethodDescriptionSimpleRuleSetProvider.create(GameSettings settings, GameMetadata metadata) -
Uses of GameSettings in net.royalur.rules.simple.fast
Fields in net.royalur.rules.simple.fast declared as GameSettingsModifier and TypeFieldDescriptionfinal GameSettingsFastSimpleFlags.settingsfinal GameSettingsFastSimpleGame.settingsConstructors in net.royalur.rules.simple.fast with parameters of type GameSettingsModifierConstructorDescriptionFastSimpleFlags(GameSettings settings) FastSimpleGame(GameSettings settings) -
Uses of GameSettings in net.royalur.stats.cli
Method parameters in net.royalur.stats.cli with type arguments of type GameSettingsModifier and TypeMethodDescriptionvoidOldStatsFunctions.testAgentActions(List<GameSettings> settingsList, Function<SimpleRuleSet, Agent> agent1Generator, Function<SimpleRuleSet, Agent> agent2Generator, int tests, GameStatsTarget[] reportTargets) Runs tests using AI agents with many game settings.