- main(String[]) - Static method in class s3games.S3Games
-
starts the application, command line arguments are not in use
- matches(String, Context) - Method in class s3games.engine.expr.Expr
-
stub to be overriden by expressions that are of string type - it should
set the variables in the context, if the expression contains variable references
- matches(int, Context) - Method in class s3games.engine.expr.Expr
-
stub to be overriden by expressions that are of numeric type - it should
set the variables in the context, if the expression is a variable
- matches(IndexedName, Context) - Method in class s3games.engine.expr.Expr
-
stub to be overriden by expressions that are of string type - it should
set the variables in the context, if the expression contains variable references
- matches(Move, Context) - Method in class s3games.engine.GameRule
-
verifies whether the specified move conforms to this rule in the provided context
- maxNodes - Variable in class s3games.player.Player
-
how many nodes at most are allowed to be opened
- MiniMaxPlayer - Class in s3games.player
-
Minimax player searches the game tree in a breadth-first search manner,
taking the best result on the players move and the worst result on the
opponent move into account.
- MiniMaxPlayer(GameSpecification, Heuristic) - Constructor for class s3games.player.MiniMaxPlayer
-
create a minimax player for the specified game with the heuristic provided
- MiniMaxPlayer.Leaf - Class in s3games.player
-
leaf that is waiting to be opened
- MiniMaxPlayer.Leaf(GameState, MiniMaxPlayer.Node) - Constructor for class s3games.player.MiniMaxPlayer.Leaf
-
construct a new leaf
- MiniMaxPlayer.Node - Class in s3games.player
-
holds the information about the state, the best/worst value (depending on
the node type, and the depth that is used when propagating the values
from the leaf nodes up the search tree
- MiniMaxPlayer.NodeType - Enum in s3games.player
-
opened nodes are MAX if it is this player's turn, states when it is opponent's turn are MIN
- MiniMaxStochasticPlayer - Class in s3games.player
-
Extension of the standard minimax player that considers only some of
the moves in each game state hoping to search more in depth
- MiniMaxStochasticPlayer(GameSpecification, Heuristic) - Constructor for class s3games.player.MiniMaxStochasticPlayer
-
create a minimax player for the specified game with the heuristic provided
- MiniMaxStochasticStrategy - Class in s3games.ai
-
Strategy class for the minimax stochastic player.
- MiniMaxStochasticStrategy(Heuristic) - Constructor for class s3games.ai.MiniMaxStochasticStrategy
-
constructor requires a heuristic for evaluating states that are beyond the time limit
- MiniMaxStrategy - Class in s3games.ai
-
Strategy class for the minimax player.
- MiniMaxStrategy(Heuristic) - Constructor for class s3games.ai.MiniMaxStrategy
-
constructor requires a heuristic for evaluating states that are beyond the time limit
- mmRatio - Static variable in class s3games.player.MiniMaxPlayer
-
the percentage each of the moves will be used
- MonteCarloClassicPlayer - Class in s3games.player
-
This is the default version of monte carlo player, it only
looks at the number of won trials compared to the number of all trials
- MonteCarloClassicPlayer() - Constructor for class s3games.player.MonteCarloClassicPlayer
-
construct a new classical monte carlo player
- MonteCarloRatioPlayer - Class in s3games.player
-
A version of a monte-carlo player that calculates the winning trials
scaled with a quotient that is calculated as a multiply of 1/N_i constants,
where N_i is branching in the opponent move state.
- MonteCarloRatioPlayer() - Constructor for class s3games.player.MonteCarloRatioPlayer
-
construct a new monte carlo player
- MonteCarloRatioPlayer2 - Class in s3games.player
-
Monte carlo player where trials have differnt weight - depending
on the depth of the trial - the deeper the trial (the more moves needed),
the lower its contribution to the overall scores
- MonteCarloRatioPlayer2() - Constructor for class s3games.player.MonteCarloRatioPlayer2
-
construct this type of monte-carlo player
- MonteCarloRatioStrategy - Class in s3games.ai
-
Strategy class for the monte carlo ratio player.
- MonteCarloRatioStrategy() - Constructor for class s3games.ai.MonteCarloRatioStrategy
-
- MonteCarloRatioStrategy2 - Class in s3games.ai
-
Strategy class for the monte carlo ratio player.
- MonteCarloRatioStrategy2() - Constructor for class s3games.ai.MonteCarloRatioStrategy2
-
- MonteCarloStrategy - Class in s3games.ai
-
Strategy class for the monte carlo player.
- MonteCarloStrategy() - Constructor for class s3games.ai.MonteCarloStrategy
-
- MoreStonesHeuristic - Class in s3games.ai
-
a heuristic class that counts the number of elements of both players on the board.
- MoreStonesHeuristic(GameSpecification) - Constructor for class s3games.ai.MoreStonesHeuristic
-
constructor needs the game specification
- MousePlayer - Class in s3games.player
-
Mouse player represents a human playing using/clicking the mouse in the
window with graphical visualisation of the game board
- MousePlayer(GameSpecification, GameWindow) - Constructor for class s3games.player.MousePlayer
-
construct a new mouse player
- Move - Class in s3games.engine
-
Represents a single move made by some player: what was moved, from where, to where
- Move(String, String, String, GameSpecification) - Constructor for class s3games.engine.Move
-
- move(GameState, ArrayList<Move>) - Method in class s3games.player.AbstractMonteCarloPlayer
-
make a move.
- move(GameState, ArrayList<Move>) - Method in class s3games.player.AStarPlayer
-
A* player makes a move - it searches all the way to find the closest winning state and performs a move that is leading towards it.
- move(GameState, ArrayList<Move>) - Method in class s3games.player.BreadthFirstSearchPlayer
-
take a move using BFS algorithm.
- move(GameState, ArrayList<Move>) - Method in class s3games.player.CameraPlayer
-
request the user to make a move, ask the camera to detect the visible
objects and try to figure out what has been moved
- move(GameState, ArrayList<Move>) - Method in class s3games.player.DepthFirstSearchPlayer
-
make a move using DFS strategy - search the state space in depth,
when finding a first winning state, return a move that is leading towards it
- move(GameState, ArrayList<Move>) - Method in class s3games.player.MiniMaxPlayer
-
make one minimax move: try to expand the game tree as far as it gets,
evaluating the rest with the heuristic when the time is used up
- move(GameState, ArrayList<Move>) - Method in class s3games.player.MousePlayer
-
wait for the human user to perform a move and return it
- move(GameState, ArrayList<Move>) - Method in class s3games.player.Player
-
make a single move
- move(GameState, ArrayList<Move>) - Method in class s3games.player.RandomGeneralPlayer
-
perform a random move
- moveAllowed(Move) - Method in class s3games.engine.GameState
-
verifies all rules, returns true, if the move is allowed, or false if not,
does not modify the game state, does not make any followup actions, however
executes all conditions of tested rules with all the consequences
- moveElement(Move, GameSpecification) - Method in class s3games.engine.GameState
-
only updates the game state by moving element between two locations, does not test anything, does not apply any rules
- moveRobot(Move) - Method in class s3games.robot.Robot
-
perform a single move operation with the robot arm including picking and placing an element.
- moving(boolean) - Method in class s3games.gui.CameraWindow
-
request the camera snapping to be allowed or not
- moving(boolean) - Method in class s3games.gui.RobotWindow
-
allow performing the move now
- msgToUser(String) - Method in class s3games.robot.Camera
-
appends a new message to the camera control panel window - a gateway for camera player