Files
BUT3ProjetJeuGroupe/Diagrammes/Diagramme_Bot.mmd

37 lines
1.1 KiB
Plaintext
Raw Normal View History

2026-01-30 10:44:58 +01:00
---
title: Bot - Diagramme de classes (complet)
---
classDiagram
class AlphaBetaBot{
-me: Player
-maxDepth: int
-rng: Random
+AlphaBetaBot(Player p, int maxDepth)
+giveYourMove(IBoard board): AbstractPly
-alphaBeta(IBoard board, int depth, int alpha, int beta): int
-terminalValue(IBoard board): int
-evaluate(IBoard board): int
-listMoves(IBoard board): List<AbstractPly>
}
class DivineBot {
-me : Player
-maxDepth : int
-rng : Random
2026-02-05 19:45:44 +01:00
+DivineBot(Player p, int maxDepth)
+giveYourMove(IBoard board) : AbstractPly
-alphaBeta(IBoard board, int depth, int alpha, int beta) : int
-evaluate(IBoard board) : int
-isIsolated(AvalamBoard b, int r, int c) : boolean
-isVulnerable(AvalamBoard b, int r, int c, Color enemyColor) : boolean
-listMoves(IBoard board) : List~AbstractPly~
2026-01-30 10:44:58 +01:00
}
class IdiotBot{
-rng: Random
+IdiotBot(Player p)
+giveYourMove(IBoard board): AbstractPly
}