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 Game
Game.create
(GameSettings settings) Creates a simple game with custom settings.GameBuilder.replaceSettings
(GameSettings settings) Create a copy of this game builder with new settings.Method parameters in net.royalur with type arguments of type GameSettingsModifier and TypeMethodDescriptionvoid
RGUStatistics.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.Constructors in net.royalur with parameters of type GameSettingsModifierConstructorDescriptionGameBuilder
(GameSettings settings, RuleSetProvider ruleSetProvider) Instantiates a new game builder. -
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 GameStateEncoding
GameStateEncoding.createSimple
(GameSettings settings) Creates an encoding for a simple set of rules.static void
LutCLI.trainLut
(GameSettings settings, Lut lut, File checkpointFile, File outputFile) Method parameters in net.royalur.lut with type arguments of type GameSettingsModifier and TypeMethodDescriptionstatic Lut
Lut.read
(JsonNotation jsonNotation, Function<GameSettings, GameStateEncoding> encodingGenerator, File file) static Lut
Lut.read
(JsonNotation jsonNotation, Function<GameSettings, GameStateEncoding> encodingGenerator, FileChannel channel) static Lut
Lut.read
(JsonNotation jsonNotation, Function<GameSettings, GameStateEncoding> encodingGenerator, DataSource source) Constructors in net.royalur.lut with parameters of type GameSettingsModifierConstructorDescriptionLutMetadata
(GameSettings gameSettings) LutMetadata
(GameSettings gameSettings, Map<String, com.fasterxml.jackson.databind.JsonNode> additionalMetadata) LutTrainer
(GameSettings settings, GameStateEncoding encoding, JsonNotation jsonNotation) SimpleGameStateEncoding
(GameSettings settings) -
Uses of GameSettings in net.royalur.model
Fields in net.royalur.model declared as GameSettingsModifier and TypeFieldDescriptionstatic final GameSettings
GameSettings.ASEB
The settings used for Aseb.static final GameSettings
GameSettings.BLITZ
The settings used for Blitz.static final GameSettings
GameSettings.FINKEL
The rules used in the YouTube video Tom Scott vs.static final GameSettings
GameSettings.MASTERS
The settings proposed by James Masters.static final GameSettings
GameSettings.OLD_MASTERS
The settings proposed by James Masters.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 TypeMethodDescriptionvoid
JsonNotation.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 SimpleRuleSet
RuleSet.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 GameSettings
FastSimpleFlags.settings
final GameSettings
FastSimpleGame.settings
Constructors in net.royalur.rules.simple.fast with parameters of type GameSettingsModifierConstructorDescriptionFastSimpleFlags
(GameSettings settings) FastSimpleGame
(GameSettings settings)