Skip to content

Building Blocks

Ariadne Engelbrecht edited this page Nov 4, 2022 · 15 revisions

Pachisi Game

graph TB;

Game_Board(Game Board)
Gatekeeper(Gatekeeper)
User(User)
Table(Table)
Lobby(Lobby)

Gatekeeper -- registers --> User
Gatekeeper -- sends User --> Lobby
Lobby -- creates --> Table

User -- sits at one --> Table
User -- asks to create Table --> Lobby

Table -- creates --> Game_Board

Loading

User

  • The User is an actual person.
  • The User registers at the Gatekeeper with a username.
  • The User asks the Lobby to create a Table.
  • The User can only join one Table at a time.
  • The User may watch a Game Board.
  • The User asks the Game Board for participation.

Gatekeeper

  • The Gatekeeper is like a landing page.
  • The Gatekeeper registers User.
  • The Gatekeeper sends User to the Lobby.

Lobby

  • The Lobby creates a Table with a tablename.

Table

  • has a tablename.
  • creates Game Board per default.
  • hosts users.

Game Board

  • consists of UI.
  • has states: waiting for participants, started, ended.

Clone this wiki locally