aboutsummaryrefslogtreecommitdiff
path: root/doc/diagrams/analysisClasses.puml
blob: d051cf94b034419917db6f7ba5f31a7ae46d88b8 (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
    !include DecisionAlgorithm.pumlc
    class MonteCarloTreeSearch
    class OtherDecisionAlgorithm

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

MonteCarloTreeSearch --> GameMove
OtherDecisionAlgorithm --> GameMove

@enduml