Uses of Class
net.royalur.model.GameSettings
Package
Description
-
Uses of GameSettings in net.royalur
Modifier and TypeMethodDescriptionGameBuilder.getSettings()
Get the settings of the game being built.Modifier 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.Modifier 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.ModifierConstructorDescriptionGameBuilder
(GameSettings settings, RuleSetProvider ruleSetProvider) Instantiates a new game builder. -
Uses of GameSettings in net.royalur.lut
Modifier 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) Modifier 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) ModifierConstructorDescriptionLutMetadata
(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
Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionJsonNotation.readGameSettings
(com.fasterxml.jackson.databind.node.ObjectNode json) Modifier and TypeMethodDescriptionvoid
JsonNotation.writeGameSettings
(com.fasterxml.jackson.core.JsonGenerator generator, GameSettings settings) -
Uses of GameSettings in net.royalur.rules
Modifier 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
Modifier and TypeMethodDescriptionSimpleRuleSetProvider.create
(GameSettings settings, GameMetadata metadata) -
Uses of GameSettings in net.royalur.rules.simple.fast
Modifier and TypeFieldDescriptionfinal GameSettings
FastSimpleFlags.settings
final GameSettings
FastSimpleGame.settings
ModifierConstructorDescriptionFastSimpleFlags
(GameSettings settings) FastSimpleGame
(GameSettings settings)