C
C#2y ago
3battle

❔ Quick Question for a quiz game

Does anyone have a good tutorial for a multiple choice quiz game using windows forms and people can make the questions as well? I want to create a seperate database where the questions can be stored. Thanks in advance
13 Replies
Angius
Angius2y ago
I don't think you'll find a specific, step-by-step, tutorial on exactly "making a winforms multiple choice quiz game where people can make their own questions that are stored in a database" Divide and conquer, split the issue into smaller ones Then, look for tutorials or docs on those individual problems
3battle
3battleOP2y ago
Thank you for helping me out. Just a question, do you have a good tutorial on a multiple choice question quiz for where the questions can be created Many of them just have quizzes that are already made
Angius
Angius2y ago
I just told you it's unlikely that any such tutorial exists
3battle
3battleOP2y ago
ok
TheBoxyBear
TheBoxyBear2y ago
For a basic version, you can always read questions from a file
3battle
3battleOP2y ago
Is it much harder from a database?
TheBoxyBear
TheBoxyBear2y ago
Datanase is harder but more robust and would require a UI for writing questions. With a file approach, you can just specify a needed format and let users write the file directly
3battle
3battleOP2y ago
Ok. I kinda wanted to use a UI ngl
TheBoxyBear
TheBoxyBear2y ago
If it's a serious project, a database can be worth the investment but for a hobby project, something like json files is fine Also depends on how much data needs to be stored, if every user's data is stored at the same place. The more you have, the more a database is worth it. If data is spread around like if every questionnaire is stored separately, text files makes more sense than a database for each Databases can also be stored as single files but when I talk of a file approach, it's text files specifically.. Either json, xml, a proprietary format, etc
3battle
3battleOP2y ago
I wanted to try and turn it into something like kahoot but offline Basically, a user logs in with his username/password. Then it goes to the main menu and displays 3 options, create quiz, play quiz or revise questions Revise questions is questions that users have gotten wrong compiled into one massive quiz Create quiz and play quiz is similar to Kahoot, with timers and scores associated with each user Is this possible whatsoever?
TheBoxyBear
TheBoxyBear2y ago
If offline, you can always run a local web server as the host that players can connect to on the same network With multiple users, a database makes more sense as it's more scalable and performant. It also offers more security.
3battle
3battleOP2y ago
Ah no so it's a single player game They all play on one device but have different accounts Thanks for helping btw I really appreciate it!
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server