Open sarmadhamdani02 opened 1 year ago
@sarmadhamdani02 I realized that the game contains only questions about js. Would you like me to add in more languages?
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! 🚀
@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.
@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. 😊👍
Add more questions to the Dev Game.
The system uses three arrays:
questionArray[]
for questions,mcqArray[]
for question options, andkey[]
for answer indexes. These arrays are tied together by their indexes. For example, if a question is at index 0 inquestionArray[]
, its options correspond to the 0th index ofmcqArray[]
, and the answer's index is located at the 0th index ofkey[]
. When introducing new questions, remember to ensure that the options and answer keys are positioned accurately at the corresponding indexes.