- Asking that how many players there will be.
- Registering each player/client to the server so each player will have a unique ID. For registration, each player creates an account for itself on the server (a password is necessary for each account).
- Communicating with just one player or more than one player at a time.
- Keeping latest status information and showing this information to the players.
- Getting guesses from players in order and compare with the phrase.
- Keeping the order of players and inform to all players about which player will play next (order will be determined from connection order to the server to play).
- Keeping wrong guesses for both letters and phrases.
- Showing current guess of the player to other players.
- Calculation of remaining allowed attempts.
- The game starts after specified number of players connect to the server.
- Allowed number of attempts decrease one by one in exchange for each wrong letter guess or each wrong phrase guess.
- Server accepts lowercase or uppercase letter for both letter guesses and phrase guesses. But if user enters an uppercase letter, you have to convert to lowercase.
- If the user enters two or more letters instead of one letter or enters a number, these count as wrong guess and as a result number of attempt decrease.
- The game terminates after 7 wrong guesses.
- The game also terminates if one player guesses whole phrase right or all letters are guesses correctly.
- The player who registered before should inform the server if she/he wants to play again.