Draft for Specification
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
@startuml
|
||||
|Player|
|
||||
start
|
||||
:scan RFID Tag;
|
||||
|
||||
|RoomPc|
|
||||
:Auth query;
|
||||
|
||||
|Globaler Server|
|
||||
:check Auth;
|
||||
|
||||
if (Valid?) then (yes)
|
||||
|RoomPc|
|
||||
:Reserve to player and team;
|
||||
:unlock door;
|
||||
|
||||
if (All members registered?) then (no)
|
||||
:wait for final player;
|
||||
detach
|
||||
else (yes)
|
||||
:enable game;
|
||||
endif
|
||||
|
||||
else (no)
|
||||
|RoomPc|
|
||||
:Show error;
|
||||
stop
|
||||
endif
|
||||
|
||||
|Player|
|
||||
:enter room;
|
||||
:select language;
|
||||
:select difficulty;
|
||||
|
||||
|RoomPc|
|
||||
:lock door;
|
||||
:start game;
|
||||
|
||||
fork
|
||||
:game mechanics;
|
||||
fork again
|
||||
:music & effects;
|
||||
fork again
|
||||
:score;
|
||||
end fork
|
||||
|
||||
:time out;
|
||||
:show score;
|
||||
:Send score to server;
|
||||
:unlock door;
|
||||
|
||||
|Globaler Server|
|
||||
:update player and group score;
|
||||
|
||||
|RoomPc|
|
||||
:set room available;
|
||||
stop
|
||||
@enduml
|
||||
Reference in New Issue
Block a user