Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more questions to the "Dev Game". #49

Open
sarmadhamdani02 opened this issue Aug 24, 2023 · 4 comments
Open

Add more questions to the "Dev Game". #49

sarmadhamdani02 opened this issue Aug 24, 2023 · 4 comments
Labels
🔮 enhancement New feature or request 🐣 good first issue Good for newcomers

Comments

@sarmadhamdani02
Copy link
Owner

Add more questions to the Dev Game.

The system uses three arrays: questionArray[] for questions, mcqArray[] for question options, and key[] for answer indexes. These arrays are tied together by their indexes. For example, if a question is at index 0 in questionArray[], its options correspond to the 0th index of mcqArray[], and the answer's index is located at the 0th index of key[]. When introducing new questions, remember to ensure that the options and answer keys are positioned accurately at the corresponding indexes.

@sarmadhamdani02 sarmadhamdani02 added 🔮 enhancement New feature or request 🐣 good first issue Good for newcomers labels Aug 24, 2023
@HadassaAvimor
Copy link

@sarmadhamdani02 I realized that the game contains only questions about js.
Would you like me to add in more languages?

@sarmadhamdani02
Copy link
Owner Author

Hey @HadassaAvimor 👋,

Apologies for the delay in my response. I think adding questions for other languages is a fantastic idea! 😊 Go for it, and let's make this even more awesome! 🚀

@HadassaAvimor
Copy link

@sarmadhamdani02 Thanks for your response,
I have a suggestion for improvement, my suggestion is that at the beginning of the game the player will be asked in which language he wants the quiz, and he will receive questions according to his choice.
It is possible to ask the player already in the initial screen ( of the condition: if programmer...)
I will be happy to do it when you approve me.

@sarmadhamdani02
Copy link
Owner Author

@HadassaAvimor

Great idea! 👏 How about adding a general quiz option that covers questions related to all programming languages? 🤔

I'm excited about this feature, so definitely go for it! If you need any help along the way, feel free to reach out. 😊👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔮 enhancement New feature or request 🐣 good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants