Contains only the sid (socket.io session-id) of {PLAYER_NAME}
Stores the answer per question which the players submitted
model: _AnswerDataList
example-data:
[
{
"username": "Mawoka",
"answer": "a",
"right": false,
"time_taken": 4994.246999999999,
"score": 0
}
]
Stores the data for the game
model: PlayGame
example:
{
"quiz_id": "be7089c6-ec97-4da9-bb3e-1aa9b67fb939",
"description": "asddsadas",
"user_id": "7cbabbc5-fdbb-4d8b-9a89-7005dfdb6f33",
"title": "Test",
"questions": [
{
"question": "sdadsadas",
"time": "20",
"type": "ABCD",
"answers": [
{
"right": false,
"answer": "a",
"color": null
},
{
"right": true,
"answer": "b",
"color": "null"
}
],
"image": null
}
],
"game_id": "7b572f2b-cf7b-47a9-ac0f-446dac22eab0",
"game_pin": "623490",
"started": true,
"captcha_enabled": false,
"cover_image": null,
"game_mode": "kahoot",
"current_question": 0,
"background_color": null,
"background_image": null,
"custom_field": null
}
Just stores the score the player has at any point of the game
data:
{PLAYER_NAME} = {SCORE}
Mostly unused, only used to check if an admin is registered. The answers
never change.
model: GameSession
example:
{
"admin": "qo1yt-rBG4HyX0YGAAAB",
"game_id": "7b572f2b-cf7b-47a9-ac0f-446dac22eab0",
"answers": []
}
A list of all current players, used to get the current number of players to check if everyone has answered
entry:
{
"username": "Mawoka",
"sid": "VSprqk7xGKaH5QbwAAAD"
}
The time when the question was shown to measure the time the players needed to answer
Seems to be unused
Returns the Game-pin
Holds the custom-field data, but is only set if the custom-field is enabled.
data: {PLAYER_NAME} = {CUSTOM_FIELD_VALUE}
{cqc_code} is the code used to join with a ClassQuizController
Only holds the game-pin