In its current state, the multiplayer allows two players to try to guess each other's words. By solving this issue, the new version of this legacy code would use socket connections to communicate between the host and the client to determine who has guessed their word first. After the first person wins, the other person loses despite having guesses left. This will make the multiplayer aspect of the game more competitive.
For extra points, create a check box in Matchmaking menu that indicates whether the match will be competitive or not. If the box is checked, instantiate HangmanGame with race mode, otherwise leave it in its current state where you can have as much time as you need to guess your opponent's word.
In its current state, the multiplayer allows two players to try to guess each other's words. By solving this issue, the new version of this legacy code would use socket connections to communicate between the host and the client to determine who has guessed their word first. After the first person wins, the other person loses despite having guesses left. This will make the multiplayer aspect of the game more competitive.
For extra points, create a check box in Matchmaking menu that indicates whether the match will be competitive or not. If the box is checked, instantiate HangmanGame with race mode, otherwise leave it in its current state where you can have as much time as you need to guess your opponent's word.