Added a method to validate the player choice