-
Notifications
You must be signed in to change notification settings - Fork 1
QDP
version 0.0.1
game - _qd
| cssqd
Role - player
| game-master
Participant - Player or Game Master, has participantId
and role
Puzzle - a task with input
and expected
+ options (time limit, sandbox + sandbox options)
input - the given data (piece of code)
expected - the goal that should be derived from input
Solution - Participant
's input for the given Puzzle
(could be correct=true|false) + time
Score - aggregation of Solution
-s
Round - Puzzle
+ Participant
-s + Solution
-s + Score
(round score) (could be current)
Round phase - current phase of Round
(idle
| countdown
| in-progress
| end
)
Session - a set of Puzzle
-s + Participant
's roles + Score
(aggregate score)
sessionId - uniq ID of session, generated by DB
sessionAlias - session alias, uniq across one game (game
+ sessionAlias
)
- "state-service" (Redemption)
- "messenger" (Arnaux)
- "front-service"
- "sandbox-service" (Zandbak)
-> - internal message (e.g. from the UI to front-end-service)
--> - arnaux based message
{
to: 'messenger',
message: {
name: 'checkin',
identity: 'zandbak-service'
}
}