aboutsummaryrefslogtreecommitdiff
path: root/doc/diagrams/useCase_useAsBackend.puml
blob: 3f1cece20a199fff288e6a13aab7edee067086b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@startuml

!include skinparams.puml

actor "GUI Program" as program

boundary "Set board state" as setState
control "State set to represent the needed board" as setStateEngine
entity "Board state" as state
boundary "Move is asked for" as ask
control "Engine thinks next move" as think
boundary "Move is suggested" as suggestion

program -> setState
setState -> setStateEngine
setStateEngine -> state
state -> ask
program -> ask
ask -> think
think -> suggestion
program -> suggestion

@enduml