Skip to content

ben-cooper/Scrabble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrabble Word Finder
(Written in C for Unix-like systems.)
(Will work on Windows as well.)

This program finds words you could make out of a subset of given letters, for English words.
To compile this program.  You must download:
-hashtable.c
-hashtable.h
-scrabble.c
-Makefile

And then run the Makefile with the command 'make'.

To run this program after compiling it, invoke scrabble from the terminal.
If you are on a Unix-like system, calling it without any parameters will
cause it to try to use the default word list in Unix.

Otherwise, you can pass the path to a word list in the same format
(one word on each line in plain text) as an argument for the program
to use instead.

If you don't have a word list handy, you can download twl.txt from the repo.

Examples:
$ ./scrabble
Initializing word list...
Number of words: 128985
Done!

cat
a
ca
at
act
tac
cat


$ ./scrabble /home/ben/wordlist.txt
...


Press Ctrl-D to exit the program on Unix.
Press Ctrl-Z and Enter to exit the program on Windows.

Enjoy!

About

A scrabble helper written in C and C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published