Open StealthOrc opened 7 months ago
Impl first version of JeopardyBoard. The backend has a JeopardyBoard struct with all data from the game. When a user connects to the game, a DTO is sent from JeopardyBoard to the player with the necessary information for the frontent
The Json File should be layed out like this: Short header part: title, author, last edit date. Within the "board" object, there should be Categories listed in order of display (left to right).
Example file:
{ "title": "Board Title", "author": "Author Name (discord name)", "lastEditDate": "2024-04-20T16:27:00Z", "board": [ { "name": "Anime", "Questions": [ { "type": "Question", "question": "Who is the the best anime girl?", "answer": "Zero Two" }, { "type": "Question", "question": "What is the best anime?", "answer": "Darling in the Franxx" } ] }, { "name": "League of Legends", "Questions": [ { "type": "Estimate", "question": "How many active players has league of legends (as of Jan. 2024)?", "answer": "0" }, { "type": "Media", "media": "http://link.to/media or /path/to/local/file/on/server" } ] } ] }