Class FlippedLutAgent

java.lang.Object
net.royalur.agent.BaseAgent
net.royalur.agent.FlippedLutAgent
All Implemented Interfaces:
Agent

public class FlippedLutAgent extends BaseAgent
A variant of LutAgent that tries to make the worst moves possible.
  • Constructor Details

    • FlippedLutAgent

      public FlippedLutAgent(Lut lut)
  • Method Details

    • decideMove

      public Move decideMove(Game game, List<Move> availableMoves)
      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.