public class DepthFirstSearchPlayer extends Player
Player.boardType, Player.playerType
Constructor and Description |
---|
DepthFirstSearchPlayer()
construct a DFS player for the specified game
|
Modifier and Type | Method and Description |
---|---|
Move |
move(GameState state,
java.util.ArrayList<Move> allowedMoves)
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
|
isComputer, otherMoved, ratioTimeLeft, setMaximumNumberOfNodes, setMaxTime, setPlayerNumber, startMove, timeUsed
public DepthFirstSearchPlayer()