add Doc
This commit is contained in:
@@ -2,9 +2,18 @@
|
||||
import java.io.Console;
|
||||
import java.util.List;
|
||||
|
||||
public class Human{
|
||||
public class Human extends Player{
|
||||
|
||||
|
||||
/**
|
||||
* This class is an extends of the class Player, this allows the player to choose his move.
|
||||
*/
|
||||
|
||||
//------------------Methods--------------------------
|
||||
/**
|
||||
* Return the coordinate of the move played by the player.
|
||||
* @param Board The actual Gomoku board.
|
||||
* @return The coordinate of the move played.
|
||||
*/
|
||||
public Coordinate chooseMove(GomokuBoard board){
|
||||
|
||||
Console cons = System.console();
|
||||
|
||||
Reference in New Issue
Block a user