Hi, I’m trying to make hangman in a windows form with c#.
The player can put a letter in a textbox. After the letter is checked in the word, I want to show this letter in a label ”used letters”. I think its maybe possible with arrays but it doesn’t really work.
player try: u
used letters: u
and if the player try again it should be:
used letters: u l m i a e
i have this already but the letter changes when a player give a new letter:
string woord = textBoxWoord.Text;
string letter = textBoxLetter.Text;
labelGebruikteLetters.Text = textBoxLetter.Text;