Anagram finder for bananagams-battle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
alistair 2dab9d5895 dictionary file location 4 years ago
Makefile dictionary file location 4 years ago
README.md example output 4 years ago
main.c dictionary file location 4 years ago
words Add words file and copyright 4 years ago
words-copyright.txt Add words file and copyright 4 years ago

README.md

Banagram.c

An anagram finder optimised for the game bananagrams-battle. It allows finding words that contain all the letters of a given word, plus any given number of letters from a pool of available letters.

To do this use

$ # banagram min <num extra letters> <word> <(optional) string of available letters>"
$ banagram min 999 hello gufsv
hello
lughole + 1g 1u
shovelful + 1f 1s 1u 1v

Alternatively, to find all words containing exactly all the same letters as a given word, use:

$ # banagram exact word
$ banagram e meal
elam
elma
male
lame
male
meal

TODO:

  • Improve interface, replace manual parsing code with getopt(3)
  • General cleanup and commenting