feat: improve reconnect, add ESLint configuration for common and socket

This commit is contained in:
Ralex
2025-10-19 00:37:26 +02:00
parent 8bdb8f47ef
commit 96bff164c0
36 changed files with 1571 additions and 677 deletions

View File

@@ -0,0 +1,4 @@
{
"managerPassword": "PASSWORD",
"music": true
}

View 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
}
]
}