CruceGameDevel / CruceGame

Open source card game
GNU General Public License v2.0
19 stars 19 forks source link

Issue 182 #207

Closed aenachescu closed 10 years ago

aenachescu commented 10 years ago

Added game_checkUniqueName(). This function checks if exist players with same name.

Paul92 commented 10 years ago

You've got the function idea wrong. It is meant to be used to check if a player may be created and added to the game, so it is supposed to take a player and a game and check if that player can be added to the game. Also, you have to implement calls for it in application.