Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UP-DOWN-GAME #6827

Closed

Conversation

guswnsim
Copy link

@guswnsim guswnsim commented Nov 26, 2024

##Please refer to Up-Down game with Python. #6826, which is on the issue list.

##Add algorithm

When you run an up-down game, you'll see the game start screen like the first picture you see
image
Enter the minimum value
image
If you enter the maximum value
image
Numbers are randomly selected within the range I specified and the game begins.
image
If the random value is larger than the value I entered, a picture of the thumb pointing up appears and outputs that a small value has been entered in the output window.
image
If the random value is smaller than the value I entered, a picture of the thumb pointing down appears and a large value is entered in the output window.
image
Due to the nature of the game, as the range increases, the playing time increases, so if it comes within the error range of 10, it is set to give a hint, and if the correct answer is completed after a few attempts, the game is over.
image

@guswnsim
Copy link
Author

##Please refer to Up-Down game with Python. #6826, which is on the issue list.

##Add algorithm

When you run an up-down game, you'll see the game start screen like the first picture you see image Enter the minimum value image If you enter the maximum value image Numbers are randomly selected within the range I specified and the game begins. image If the random value is larger than the value I entered, a picture of the thumb pointing up appears and outputs that a small value has been entered in the output window. image If the random value is smaller than the value I entered, a picture of the thumb pointing down appears and a large value is entered in the output window. image Due to the nature of the game, as the range increases, the playing time increases, so if it comes within the error range of 10, it is set to give a hint, and if the correct answer is completed after a few attempts, the game is over. image

@guswnsim guswnsim closed this Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant