-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from TINF21CS1/architectural_pattern
Docs(architectural pattern): Added rule-based system diagram
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
@startuml Rule-Based System | ||
|
||
class "GameState" as WM | ||
|
||
class "Game" as IE | ||
|
||
class "RuleBase" as KB | ||
|
||
class "Lobby" as UI | ||
|
||
WM --> IE: Current state | ||
IE --> KB: Validate action and state | ||
KB --> IE: Validated / Error | ||
IE --> WM: Update state | ||
IE --> UI: Return state | ||
UI --> IE: Request state | ||
|
||
note right of WM | ||
Working Memory | ||
end note | ||
|
||
note right of IE | ||
Inference Engine | ||
end note | ||
|
||
note right of KB | ||
Knowledge Base | ||
end note | ||
|
||
note right of UI | ||
User Interface | ||
end note | ||
|
||
@enduml |