I am trying to make a hangman game a player guesses a word and has a computer guess a letter to figure out the word, I know it needs to be based on most likely outcome and the computer would need to find the word as quickly as possible. It would also need to show the available words that are left in a list that is scrollable.
for example if the word I choose is 'donkey' and the computer guesses the 'o' 'k' and 'd' giving it 'do-k--' it would list the words that are possible then guess the next letter with the highest percentage
Just wondering if anyone has any starter code I can look at to try to take this apart and get something working
0 · ·