Thank you both for your replies.
First: I'm trying to make my game and the HCI intelligent (i.e. it deduces by itself the player gender without using some sort of specification). That’s why I thought of using the voice input to identify the gender.
Second: Yes my game play requires the use of the microphone.
Third: Yes you are so right about the possibility of guessing wrong the gender of the player. Therefore, I thought of using some sort of AI algorithms to increase the chance of the gender classification (e.g. fuzzy logic).
I know it’s kinda complicated but yeah lol. Thank you again for all your feedback and recommendations I really appreciate it