vendredi 15 juillet 2016

I need to ask user for inputs and display it on a common interface. The terminal should be like :


Word: _ _ _ H _ N // This is the common interface

Used: Z Q L A

HANG|MAN

Please guess the first letter: Z

Please guess the next letter: Q

Please guess the next letter: H

Please guess the next letter: N

I have the interface ready using stdout flush but cant figure out how to take input in such a manner


Aucun commentaire:

Enregistrer un commentaire