I want to make a simple number guessing game where:
A random number between 1–10 is generated.
the user is asked to guess the number using Input Dialog. The loop continues until the user guesses it correctly.
success message is shown at the end.
If you are using Cloud version of Studio - I would suggest you to post the same question to Studio Auto Pilot and it will generate the code for you which you could utilize to fine tune and understand the logic
FYI - Autopilot is a cool AI feature in Studio which will help you to generate the code based on your natural language input
Note: The code generated might not be in full working condition. You might need to go through the code and fix wherever required. But definitely - 80% code will be done automatically