Uses of Class
net.royalur.Game
Packages that use Game
Package
Description
-
Uses of Game in net.royalur
Methods in net.royalur that return GameModifier and TypeMethodDescriptionGameBuilder.build()
Generates a new game using the rules set in this builder.Game.copy()
Generates a copy of this game.static Game
Game.create
(GameSettings settings) Creates a simple game with custom settings.static Game
Game.createAseb()
Creates a game of Aseb.static Game
Game.createFinkel()
Creates a game that follows the rules proposed by Irving Finkel.static Game
Game.createMasters()
Creates a game that follows the rules proposed by James Masters.static Game
Game.createUntimed
(RuleSet rules) Instantiates a new game of the Royal Game of Ur that is untimed.Constructors in net.royalur with parameters of type Game -
Uses of Game in net.royalur.agent
Methods in net.royalur.agent with parameters of type GameModifier and TypeMethodDescriptionAgent.decideMove
(Game game, List<Move> availableMoves) Determines the move to be executed from the current state of the game.BadAgent.decideMove
(Game game, List<Move> moves) BetterGreedyAgent.decideMove
(Game game, List<Move> moves) DeterministicAgent.decideMove
(Game game, List<Move> moves) FlippedLutAgent.decideMove
(Game game, List<Move> availableMoves) GreedyAgent.decideMove
(Game game, List<Move> moves) LeastAdvancedGreedyAgent.decideMove
(Game game, List<Move> moves) LikelihoodAgent.decideMove
(Game game, List<Move> moves) LutAgent.decideMove
(Game game, List<Move> availableMoves) RandomAgent.decideMove
(Game game, List<Move> moves) static int
Agent.playAutonomously
(Game game, Agent light, Agent dark) Completes this game using the two agents to play its moves.void
Initiates the agent to play their turn in the given game.final void
Initiates the agent to play their turn in the given game. -
Uses of Game in net.royalur.notation
Methods in net.royalur.notation that return GameModifier and TypeMethodDescriptionJsonNotation.decodeGame
(String encoded) Notation.decodeGame
(String encoded) Decodes the game from the textencoded
, based upon the rulesrules
.RGN.decodeGame
(String encoded) JsonNotation.readGame
(com.fasterxml.jackson.databind.node.ObjectNode json) JsonNotation.readGameV1Or2
(com.fasterxml.jackson.databind.node.ObjectNode json) Methods in net.royalur.notation with parameters of type GameModifier and TypeMethodDescriptionJsonNotation.encodeGame
(Game game) Notation.encodeGame
(Game game) Encodes the given game,game
, into text.RGN.encodeGame
(Game game) void
-
Uses of Game in net.royalur.rules.simple.fast
Methods in net.royalur.rules.simple.fast with parameters of type Game -
Uses of Game in net.royalur.stats
Methods in net.royalur.stats with parameters of type Game