Skip to main content
Stack Overflow
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Draft saved
Draft discarded
Cancel
4
  • Please trim your code to make it easier to find your problem. Follow these guidelines to create a minimal reproducible example. Commented Oct 27, 2021 at 13:42
  • Some of the issues: GameHallMsg does return 1 for 'list' and invalid 'enter' messages while it should rather return 'wait'. The while(1): #waiting the other player is an end- and pointless loop. Commented Oct 28, 2021 at 15:31
  • 1
    @Armali I have updated the code and write the expected output. Thanks for the advises again! Commented Oct 28, 2021 at 15:37
  • I think the problem is: the second client that input the command /guess, cannot receive the message. Commented Oct 28, 2021 at 16:35

lang-py

AltStyle によって変換されたページ (->オリジナル) /