Hap game
Write a program that runs the game Hap:
Initially get a number of user that specifies the number of game coefficient
At any time the system and the user must enter a number or word hop
The game must continue until the user is wrong
The user only has 3 seconds to enter the answer
Example: