|
|
@ -4,6 +4,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
# Package Diagram
|
|
|
|
# Package Diagram
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```plantuml
|
|
|
|
|
|
|
|
@startuml
|
|
|
|
|
|
|
|
skinparam linetype polyline
|
|
|
|
|
|
|
|
skinparam linetype ortho
|
|
|
|
|
|
|
|
package "Qwirkle" {
|
|
|
|
|
|
|
|
package "Boards" {
|
|
|
|
|
|
|
|
class Board
|
|
|
|
|
|
|
|
class Cell
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package "Games" {
|
|
|
|
|
|
|
|
class Game
|
|
|
|
|
|
|
|
interface IPlayer
|
|
|
|
|
|
|
|
interface IRules
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package "Players" {
|
|
|
|
|
|
|
|
class Player
|
|
|
|
|
|
|
|
class Score
|
|
|
|
|
|
|
|
class LeaderBoard
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package "Tiles" {
|
|
|
|
|
|
|
|
class Tile
|
|
|
|
|
|
|
|
class TileBag
|
|
|
|
|
|
|
|
enum Color
|
|
|
|
|
|
|
|
enum Shape
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package "Events" {
|
|
|
|
|
|
|
|
class AddPlayerNotifiedEventArgs
|
|
|
|
|
|
|
|
class EndOfGameNotifiedEventArgs
|
|
|
|
|
|
|
|
class NextPlayerNotifiedEventArgs
|
|
|
|
|
|
|
|
class PlaceTileNotifiedEventArgs
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package "Program" {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell <--* Board
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IPlayer ..|> Game
|
|
|
|
|
|
|
|
IRules ..|> Game
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Score <--* LeaderBoard
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tile <--* TileBag
|
|
|
|
|
|
|
|
Tile --> Color
|
|
|
|
|
|
|
|
Tile --> Shape
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Program ..> Boards : <<import>>
|
|
|
|
|
|
|
|
Program ..> Games : <<import>>
|
|
|
|
|
|
|
|
Program ..> Players : <<import>>
|
|
|
|
|
|
|
|
Program ..> Tiles : <<import>>
|
|
|
|
|
|
|
|
Program ..> Events : <<import>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Games ..> Boards : <<import>>
|
|
|
|
|
|
|
|
Games ..> Players : <<import>>
|
|
|
|
|
|
|
|
Games ..> Tiles : <<import>>
|
|
|
|
|
|
|
|
Games ..> Events : <<import>>
|
|
|
|
|
|
|
|
Boards ..> Tiles : <<import>>
|
|
|
|
|
|
|
|
Players ..> Tiles : <<access>>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@enduml
|
|
|
|
|
|
|
|
|
|
|
|
# Sequence Diagram
|
|
|
|
# Sequence Diagram
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|

|
|
|
|