Package net.royalur.agent
Class FlippedLutAgent
java.lang.Object
net.royalur.agent.BaseAgent
net.royalur.agent.FlippedLutAgent
- All Implemented Interfaces:
Agent
A variant of LutAgent that tries to make the worst moves possible.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecideMove
(Game game, List<Move> availableMoves) Determines the move to be executed from the current state of the game.
-
Constructor Details
-
FlippedLutAgent
-
-
Method Details
-
decideMove
Description copied from interface:Agent
Determines the move to be executed from the current state of the game.- Parameters:
game
- The game to find the best move in.availableMoves
- The list of available moves to be chosen from.- Returns:
- The move that the agent chose to play.
-