mirror of
https://github.com/randyjc/Rahoot.git
synced 2026-03-13 20:15:35 +01:00
feat: improve reconnect, add ESLint configuration for common and socket
This commit is contained in:
4
packages/config/game.json
Normal file
4
packages/config/game.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"managerPassword": "PASSWORD",
|
||||
"music": true
|
||||
}
|
||||
41
packages/config/quizz/example.json
Normal file
41
packages/config/quizz/example.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"subject": "Example Quizz",
|
||||
"questions": [
|
||||
{
|
||||
"question": "What is good answer ?",
|
||||
"answers": [
|
||||
"No",
|
||||
"Good answer",
|
||||
"No",
|
||||
"No"
|
||||
],
|
||||
"solution": 1,
|
||||
"cooldown": 5,
|
||||
"time": 15
|
||||
},
|
||||
{
|
||||
"question": "What is good answer with image ?",
|
||||
"answers": [
|
||||
"No",
|
||||
"No",
|
||||
"No",
|
||||
"Good answer"
|
||||
],
|
||||
"image": "https://placehold.co/600x400.png",
|
||||
"solution": 3,
|
||||
"cooldown": 5,
|
||||
"time": 20
|
||||
},
|
||||
{
|
||||
"question": "What is good answer with two answers ?",
|
||||
"answers": [
|
||||
"Good answer",
|
||||
"No"
|
||||
],
|
||||
"image": "https://placehold.co/600x400.png",
|
||||
"solution": 0,
|
||||
"cooldown": 5,
|
||||
"time": 20
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user