Uses of Class
net.royalur.model.Move
Package
Description
-
Uses of Move in net.royalur
Modifier and TypeMethodDescriptionGame.findMoveByPiece
(Piece piece) Finds the move of the piecepiece
.Game.findMoveByTile
(Tile sourceTile) Finds the move of the piece ontile
.Game.findMoveIntroducingPiece()
Finds a move that introduces a new piece to the board.Game.findMoveScoringPiece()
Finds a move that scores a piece.Modifier and TypeMethodDescriptionGame.findAvailableMoves()
Finds all moves that can be made from the current position. -
Uses of Move in net.royalur.agent
Modifier 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) Modifier 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) -
Uses of Move in net.royalur.notation
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionJsonNotation.readMoveList
(RuleSet rules, com.fasterxml.jackson.databind.node.ArrayNode json) Modifier and TypeMethodDescriptionvoid
RGN.appendMove
(RuleSet rules, StringBuilder builder, Move move) Encodes the move frommovedState
intobuilder
.void
RGN.appendMove
(RuleSet rules, StringBuilder builder, Move move, boolean spaceBeforeRosette) Encodes the move frommovedState
intobuilder
.DerivedStateSource.createMovedState
(RuleSet rules, long timeSinceGameStartMs, PlayerType turn, Roll roll, Move move) FullStateSource.createMovedState
(RuleSet rules, long timeSinceGameStartMs, PlayerType turn, Roll roll, Move move) abstract MovedGameState
StateSource.createMovedState
(RuleSet rules, long timeSinceGameStartMs, PlayerType turn, Roll roll, Move move) void
Modifier and TypeMethodDescriptionvoid
JsonNotation.writeMoveList
(com.fasterxml.jackson.core.JsonGenerator generator, List<Move> moves) -
Uses of Move in net.royalur.rules
Modifier and TypeMethodDescriptionRuleSet.findAvailableMoves
(Board board, PlayerState player, Roll roll) Finds all available moves from the given state.Modifier and TypeMethodDescriptionRuleSet.applyMove
(WaitingForMoveGameState state, long timeSinceGameStartMs, Move move) Appliesmove
tostate
to generate the new state of the game. -
Uses of Move in net.royalur.rules.simple
Modifier and TypeMethodDescriptionSimpleRuleSet.findAvailableMoves
(Board board, PlayerState player, Roll roll) Modifier and TypeMethodDescriptionSimpleRuleSet.applyMove
(WaitingForMoveGameState state, long timeSinceGameStartMs, Move move) -
Uses of Move in net.royalur.rules.state
Modifier and TypeMethodDescriptionRolledGameState.getAvailableMoves()
Gets the moves that are available from this position using the given roll.WaitingForMoveGameState.getAvailableMoves()
Gets the moves that are available to be made from this position.ModifierConstructorDescriptionMovedGameState
(Board board, PlayerState lightPlayer, PlayerState darkPlayer, long timeSinceGameStartMs, PlayerType turn, Roll roll, Move move) Instantiates a game state representing a move that was made in a game.ModifierConstructorDescriptionRolledGameState
(Board board, PlayerState lightPlayer, PlayerState darkPlayer, long timeSinceGameStartMs, PlayerType turn, Roll roll, List<Move> availableMoves) Instantiates a game state that represents a roll that was made in a game.WaitingForMoveGameState
(Board board, PlayerState lightPlayer, PlayerState darkPlayer, long timeSinceGameStartMs, PlayerType turn, Roll roll, List<Move> availableMoves) Instantiates a game state where the game is waiting for a player to make a move.