Class Custom

java.lang.Object
org.xxdc.oss.example.bot.Custom
All Implemented Interfaces:
BotStrategy

public final class Custom extends Object implements BotStrategy
Implements a custom bot move strategy for the game, delegating to a specific custom implementation.
  • Constructor Details

  • Method Details

    • bestMove

      public int bestMove()
      Description copied from interface: BotStrategy
      Returns the best move for the current game state.
      Specified by:
      bestMove in interface BotStrategy
      Returns:
      the index of the best move to make