aboutsummaryrefslogtreecommitdiff
path: root/doc/diagrams/analysisClasses.puml
blob: 4a286f7fd9eff23ab392ac1e8d2d92554c93c335 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@startuml

!include skinparams.puml

package GameModule {
    class GameIO
    class GameState
    class GameBoard
    class GameMove
}

GameIO -> GameState
GameState -> GameMove
GameMove -> GameBoard

package EngineModule {
    class EngineIO
    class EngineLogic
    interface DecisionAlgorithm
    class MonteCarloTreeSearch
    class OtherDecisionAlgorithm
}

EngineIO --> EngineLogic
EngineLogic -> DecisionAlgorithm
DecisionAlgorithm <|.. MonteCarloTreeSearch
DecisionAlgorithm <|.. OtherDecisionAlgorithm

MonteCarloTreeSearch --> GameMove
OtherDecisionAlgorithm --> GameMove

@enduml