Crossword Game Cheater
Too impatient to find that obscure, high scoring word while playing that trademarked crossword board game? Your opponents still pestering you to finish your turn, even though they've let you flip through a dictionary?
I have been working on a crossword game program. Here, you may download and test what I have done so far.
In the following screenshot, a bingo (seven-tile play) is possible. Can you find it?
This program will only find all legal moves given a rack of letters and a board. I will slowly but surely add more features, such as scoring and a computer opponent.
- There must be at least one tile on the board in order for this program to generate moves; the program will only find moves that are adjacent to another tile already on the board.
- I used a much larger dictionary than the "official" one used in touraments. The dictionary also takes several moments to load (the dictionary will be loaded the first time you press the Cheat button.
- Don't put more than two blank tiles on your rack if you have a slow computer!
You should be able to figure out how the program works.
Although this program has been written in Java, it will only work on Windows as-is. This means that if your operating system is not Windows, you'll have to do a little bit more work.
- Install a Java Runtime Environment (JRE) if you haven't already done so. Go to the following page to get a JRE:
- Download the Crossword Game Cheater and unzip it into a directory. Run the batch file crossword.bat.
All other operating systems
These instructions assume that you have some understanding of developing Java applications. Note that I haven't tested these instructions.
- Go to the following site to download and install the Eclipse platform:
- Download the Crossword Game Cheater and unzip it into a directory. There will be one .jar file among the unzipped files. In Eclipse, import that .jar file into a new project.
- Refer to the Eclipse's help files regarding standalone applications that use SWT. You will have to modify the Java build and library paths.
- Execute the class com.verbavolant.gamegui.MainWindow with one argument, the file name of the dictionary. In this case, the name is enable_dict.dat.
- Word Games Source Code Archive: The source for word game algorithms. The site contains lots of source code, but I didn't use any of it; I wrote this program from scratch. The following documents found at this site were the most helpful for me:
- Power Tools...: You can download the ENABLE word list here. I used this list to compile my dictionary. It has 173,000+ words.
- Eclipse: This is the Java IDE that I used to develop this program; it's totally free.