Closed DerMoehre closed 2 years ago
thanks but there are more bugs now well will open another issue soon
what is the unwanted behavior?
With the while loop it's going to loop out in the terminal 🙂 if user enters anything except 0,1 or 2 you try this by yourself by entering the value 3 and the reason is that the last else statement will not be executed because the previous elif statements will takes the lead.
On Fri, Oct 21, 2022, 9:07 PM Moritz Dahm @.***> wrote:
thanks but there are more bugs now well will open another issue soon
what is the unwanted behavior?
— Reply to this email directly, view it on GitHub https://github.com/LastDeadlock/hacktoberfest/pull/2#issuecomment-1287133954, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARV7YHAJTP4K7ZXYC63SFZDWEK2EXANCNFSM6AAAAAARLIS5SM . You are receiving this because you modified the open/close state.Message ID: @.***>
ah okay, so you want to end the game, if the user enters a wrong number? With the while loop, the game will just keep asking the user for correct input
Yes, that's right.
On Fri, Oct 21, 2022, 9:25 PM Moritz Dahm @.***> wrote:
ah okay, so you want to end the game, if the user enters a wrong number? With the while loop, the game will just keep asking the user for correct input
— Reply to this email directly, view it on GitHub https://github.com/LastDeadlock/hacktoberfest/pull/2#issuecomment-1287152306, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARV7YHAZM2IEJ4PA7APN253WEK4FXANCNFSM6AAAAAARLIS5SM . You are receiving this because you modified the open/close state.Message ID: @.***>
thanks but there are more bugs now well will open another issue soon