Skip to content

little hangman bot inspired by conditional probabilities

Notifications You must be signed in to change notification settings

disrae/hangmanAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

hangmanAI

little hangman bot inspired by conditional probabilities

Summary

Inspired by conditional probabilities, the idea is to pick the optimal character by max(p(char | len(word) & known characters for positions)). So, given a list of common english words, for each word that is of the same length as the word being searched for, and that has the characters guessed so far in the correct positioons, then we can guess the highest frequency character, which is the maximum probability character.

Example Results

image

About

little hangman bot inspired by conditional probabilities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published