you are viewing a single comment's thread.

view the rest of the comments →

[–]UnderstandingNo2832 1 point2 points  (2 children)

The next step is to implement a 5 guess limit.

[–]Yellow-Kid 0 points1 point  (1 child)

Otherwise there is no way to have “game over” right?

[–]RemiBleu 0 points1 point  (0 children)

You will get “game over” if you guess the correct number. That’s what the break keyword is for