README for crossword -------------------- You need: - a somewhat recent C++ compiler. I have tested: - GNU g++ 2.95.2 - GNU g++ 2.97 - Compaq C++ V6.3-006 Please tell me if you get any other to compile it (or not...). - standard unix tools like sh, grep, sed, make, sort. - a working mmap(2) -- any decent Unix should have that - a word list. /usr/dict/word might suffice for a start. To configure: ./configure To build: make Then copy any word list into the main directory as "en.dict". It has to be all upper case and sorted, so pipe it through tr '[a-z]' '[A-Z]'| sort -u to be sure. Then do: make en.trie WARNING: this might need a lot of RAM; for example, on my machine building a trie for a German word list with about 250,000 words takes about 40-60 MB RAM. I could try to improve this if it is a problem for anybody. Then run with: /crossword en If you want to use any other language that German (de) or English (en), you need to create corresponding .bag and .layout files. Their format should be obvious. To see the computer play against itself, type: /crossword en auto Please send all patches, fixes, comments etc. to me! -- Falk Hueffner