This commit is contained in:
Cyprien111
2025-03-31 08:33:58 +02:00
parent a00cc26e59
commit cfb05f6c11
3 changed files with 53 additions and 4 deletions

View File

@@ -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();