Class Custom
java.lang.Object
org.xxdc.oss.example.bot.Custom
- All Implemented Interfaces:
BotStrategy
Implements a custom bot move strategy for the game, delegating to a specific custom
implementation.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbestMove()Returns the best move for the current game state.
-
Constructor Details
-
Custom
-
-
Method Details
-
bestMove
public int bestMove()Description copied from interface:BotStrategyReturns the best move for the current game state.- Specified by:
bestMovein interfaceBotStrategy- Returns:
- the index of the best move to make
-