i am currently trying to make a hangman game on my bot, but i can't seem to code it to allow words where the same letter appears twice (eg: online), and have to use words like "remote" which only have 1 occurance of a letter. I have it so it scans the word for the posistion of where that letter appears, but i'm not sure how to make allow it to change ----- to the correctly guessed letters which appear more than once.
I hope i explained well,
- Bungle