add Doc
This commit is contained in:
@@ -2,10 +2,22 @@ import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
public class GomokuAI{
|
||||
|
||||
/**
|
||||
* This class is an extends of the class Player, this allows the GomokuAI to choose his move.
|
||||
*/
|
||||
|
||||
/** The random initialization */
|
||||
Random random = new Random();
|
||||
/** The difficulty of the GomokuAI */
|
||||
int difficulty = 0;
|
||||
|
||||
//------------------Methods--------------------------
|
||||
/**
|
||||
* Return the coordinate of the move played by the Gomoku AI.
|
||||
* @param Board The actual Gomoku board.
|
||||
* @return The coordinate of the move played.
|
||||
*/
|
||||
public Coordinate chooseMove(GomokuBoard board){
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user