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

!include skinparams.puml

actor "Player" as player

boundary "Game CLI" as cli
control "Play a stone" as playStone
control "Show board" as showBoard
entity "Board state" as state

loop until game ends
    player -> cli
    cli -> playStone
    playStone -> state
    showBoard <- state
    cli <- showBoard
end

@enduml