made the loby working using the newer rDB and makeing everything to bbe better manageable by using folders and more components!

This commit is contained in:
RezHackXYZ 2025-05-17 13:57:02 +05:30
parent 2b9b5c3b39
commit d3e0f3406e
No known key found for this signature in database
37 changed files with 417 additions and 159 deletions

View file

@ -16,30 +16,38 @@
```mermaid
erDiagram
GAMES {
int ID PK
string creator
date creationDate
string status
}
QUESTIONS {
int ID PK
int GameID FK
string QuestionsText
string CorrectAnswer
}
ANSWERS {
int ID PK
int QuestionID FK
string content
}
PLAYERS {
int ID PK
int GameID FK
int Score
}
GAMES {
int ID PK
string creator
date creationDate
string status
}
QUESTIONS {
int ID PK
int GameID FK
string QuestionsText
string CorrectAnswer
}
ANSWERS {
int ID PK
int QuestionID FK
string content
}
ANSWEREDBY {
int ID PK
int QuestionID FK
string NameOfAnswerer
}
PLAYERS {
int ID PK
int GameID FK
int Score
}
GAMES ||--o{ QUESTIONS : contains
QUESTIONS ||--o{ ANSWERS : has_answers
QUESTIONS ||--o{ ANSWEREDBY : has_answeredby
GAMES ||--o{ PLAYERS : has_players
GAMES ||--o{ QUESTIONS : contains
QUESTIONS ||--o{ ANSWERS : has
GAMES ||--o{ PLAYERS : participated_by
```