I want to make a vocabulary quiz game: The program reads a file with definitions and the matching words. The definitions are randomized. The first definition is given and the player types in the answer(word). The program checks if the definition matches the word from the read file. The program gives the next random definition and so on...
Is there a way to randomize the "line numbers" from the file and read the definition with that line number?