previous |
start |
next
Example: An Educational Game (Requirements)
- You task is to write a game program that
teaches your baby sister how to read the clock.
- The game must:
- Randomly generate a time.
- Draw a clock face with that time.
- Ask the player to type in the time.
- The player gets two tries to guess the time
before the game displays the answer.
- The score increases by one point each time the
player guess the time correctly.
previous |
start |
next