-
Notifications
You must be signed in to change notification settings - Fork 1
Game master stops the running round
Alexander Gerasimov edited this page Apr 13, 2017
·
4 revisions
Note: Steps 4-7 are also valid when round time runs out.
-
_qd-ui -> fe-service:
{ to: 'front-service', message: { name: 'round.stop' } }
-
fe-service --> redemption:
{ to: 'state-service', message: { name: 'round.stop', sessionId: 'rsconf-2017' } }
-
redemption --> zandbak-service:
{ to: 'sandbox-service', message: { name: 'sandbox.reset' } }
-
redemption --> fe-service:
{ to: 'front-service', message: { name: 'roundPhase.changed', roundPhase: "end", sessionId: 'rsconf-2017' } }
-
fe-service -> _qd-ui:
{ to: '_qd-ui', message: { name: 'roundPhase.changed', roundPhase: "end" } }
-
redemption --> fe-service:
{ to: 'front-service', message: { name: 'score', sessionId: 'rsconf-2017', players: [{ participantId: 'abcd-1234-qwer-5678', inputLength: 37, solution: null | { time{seconds}, code, correct }, aggregateScore: null | time{seconds} }] } }
-
fe-service -> _qd-ui:
GameMaster
{ to: '_qd-ui', message: { name: 'score', players: [{ participantId: 'abcd-1234-qwer-5678', displayName: 'John Walker', inputLength: 37, solution: null | { time{seconds}, code, correct } aggregateScore: null | time{seconds} }] } }