Well, easy. When you are asked a "what is the hypotenuse" or "what is the leg" problem you answer the corresponding number. If the problem is a "is this a right triangle" then use the pythagorean theorem to figure if it is.
Credit to @Songal for making a partial rough draft of it and to a random Chinese Astronomer who made this game possible. ( pythagoras was not the creator. For more information read abput the pythagorean theorem on the internet)