aboutsummaryrefslogtreecommitdiff
path: root/doc/diagrams/GameState.pumlc
blob: a913855f299a6bb7075268449db5a8ed7afd293a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@startuml

class GameState {
    int size
    GameMove lastMove

    getCurrentPlayer()
    getPlayerCode()
    getBoard()
    clearBoard()
    playMove(row, col)
    playMoveForPlayer(row, col, player)
    playPass()
    playPassForPlayer(player)
    undo()
}

@enduml