Closed aenachescu closed 10 years ago
Modified game_addPlayer(). Now the function checks if the player's name which is added, is unique. If the player's name not is unique then the function return DUPLICATE_NAME.
You should also implement the functionality in our interface (ask the player for a new name, if that's the case).
Modified game_addPlayer(). Now the function checks if the player's name which is added, is unique. If the player's name not is unique then the function return DUPLICATE_NAME.