Loads of review material, fortunately handled through an app project rather than quizzes. The premise for the app was simple enough:
- Each turn of the game the app will randomly pick either rock, paper, or scissors.
- Each turn the app will either prompt the player to win or lose.
- The player must then tap the correct move to win or lose the game.
- If they are correct they score a point; otherwise they lose a point.
- The game ends after 10 questions, at which point their score is shown.
I’m sure that I’ve over-engineered some parts and missed the point on others, but I do have an ugly functioning app that applies the necessary logic.
The one thing that I couldn’t figure out is how to randomise the sequence that the answers appear in while keeping the evaluation of the user’s guess simple. That aspect of the logic is already quite messy in my current implementation.