Making a game for Spanish class, but can't figure out how to get something to select words

I haven't coded in a while so I can't remember how to do this. I'm making a game for a Spanish class I'm in, and the game I'm trying to make is supposed to randomly select a word. Whenever it selects that word you type out the translation within a certain time frame and it goes to the next word. I'm just not sure how to get it to randomly select a word, then make sure you have the proper translation.

first you need to decide what's the data structure you will use. One of the easy way is use list like this:

then shuffle the list, pick item1, then item 2 ...

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.