JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Tree
Index
Search
Help
org.xxdc.oss.example.bot.custom
CustomBotStrategy
Contents
Hide sidebar
❮
❯
Show sidebar
Description
Method Summary
Method Details
bestMove(List)
Interface CustomBotStrategy
public interface
CustomBotStrategy
Custom, extended bot strategy
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
int
bestMove
(
List
<
Integer
> availableMoves)
Returns the best move for the current game state.
Method Details
bestMove
int
bestMove
(
List
<
Integer
> availableMoves)
Returns the best move for the current game state.
Parameters:
availableMoves
- the list of available positions that can be moved to
Returns:
the index of the best move to make