Merge branch 'master' of gitlab.isima.fr:audorival/gomoku

This commit is contained in:
Aubin DORIVAL
2025-04-07 09:54:20 +02:00

View File

@@ -24,7 +24,7 @@ public class GomokuAI extends Player {
/** The random initialization */
Random random = new Random();
/** The difficulty of the GomokuAI */
int difficulty = 0;
private int difficulty = 0;
// ------------------Methods--------------------------
/**
@@ -94,5 +94,13 @@ public class GomokuAI extends Player {
return map;
}
// ------------------Getter--------------------------
public int GetDifficulty() {
return difficulty;
}
// ------------------Setter--------------------------
public void SetDifficulty(int difficulty) {
this.difficulty = difficulty;
}
}