Validate function working

Now the player can validate his/her choice enabling the game to end.