Skip to content

NeilSCGH/HangmanGameFinder

Repository files navigation

HagmanGameFinder

This program is made to cheat at the hangman game. It will lists all possible words, and give you the next letter to ask for.

Usage: python hangmanfinder.py -d file -m mask [-f letters]
                               [[-h] | [-help] | [-?]]

Options:
   -d file     txt file to use as dictionary.
   -m mask     The mask to use, where * is a unknown letter.
               You can use "*", or "?" or "." for an unknown letter.
   -f letters  Results with one of these letters will be excluded.
   -h|help|?   (Optional) Print this help.

Example

python hangmanfinder.py -d french_complete.txt -m "s..en.e" -f "ardpu"

Will return

2 corresponding words found:
science, silence

You can ask for: c

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages