Nov-05-2018, 08:20 PM
First off, you'll need to ask the user what sound they thought it was. Then you'll take that response, and check it against the answer. As you've currently coded things, it would probably be tough to check the answer. What I would do to fix that would be to have sounds contain pairs (tuples) instead of just the path, where the tuples would contain the expected answer as well as the path.