Figure 1: Main interface of the Word Bomb Tool
Figure 2: Word suggestion and game interaction
Figure 3: Application in action
- Select Region: Press
TABto select a region. - Auto Mode: Press
F1to toggle auto mode. - Exit Program: Press
Ctrl+Cto exit the program. - Show/Hide window: Press
Caps Lockto toggle the log window and the selected region outline together. - Show/Hide help: Press
.to toggle the help window. - Change Search Mode: Press
Page Upto change the search mode. - Change Sort Mode: Press
Page Downto change the sort mode. - Clear History: Press
Deleteto clear the history. - Undo Last Word: Press
Ctrl+Zto undo the last word. - Fetch Suggestions: Press
SHIFTto fetch suggestions. - Fetch Definitions: Press
Alt+1to fetch definitions.
-
Go to
Options->Select regionand select the block that shows the characters. -
Press
SHIFTto fetch a suggestion orF1to toggle auto mode. -
Press
Ctrl+Cto exit the program.
- OCR/Manual Input: Simply enter/reads the letters from the Word Bomb game board/selected region.
- Call Api: Fetch word suggestions from Datamuse API.
- Typing: Automatically types the suggested word into the game.
- Wait: Waits for
the game to ask for a wordorthe user to press shift/f1before repeating the process.
- Python 3.6 or higher
- Tesseract Ocr for windows x64 5.5
- Clone the repository:
git clone https://github.com/mPhpMaster/word-bomb-tool.git- Install Python dependencies:
pip install -r requirements.txt- Run the script:
python main.pyor
run.bator
run.shor just double-click on run.vbs.
Uses the same Datamuse logic as the desktop app; no Tesseract or keyboard hooks required.
python cli.py suggest LETTERS [--mode MODE] [--sort SORT] [--limit N]
python cli.py define WORD
python cli.py modesExamples:
python cli.py suggest abc --mode starts-with --sort shortest -n 10
python cli.py define puzzle --jsonOn Windows you can use run-cli.bat the same way (pass arguments after the batch name).
From the project folder, install build tools and produce two one-file programs in dist\:
build_exe.batThis installs requirements.txt plus requirements-build.txt (PyInstaller), then builds:
dist\WordBombGUI.exe— same aspython main.py(still needs Tesseract installed separately for OCR).dist\WordBombCLI.exe— same aspython cli.py ...(pass subcommands after the executable, e.g.WordBombCLI.exe suggest cat -n 5).
Config, logs, and ocr_metrics.json are written next to the .exe you run.
After building the executables, create a Windows installer package with Inno Setup 6:
build_installer.ps1or:
build_installer.batThe installer output is:
dist\WordBombTool-Setup.exe
It installs:
WordBombGUI.exeWordBombCLI.exeocr_config.jsonLICENSEREADME.md- shortcuts for
WordBombGUI.exeandWordBombCLI.exe
If ISCC.exe is not found, install Inno Setup 6 and ensure the compiler is available on PATH.
Manual installer build (after build_exe.bat):
ISCC.exe /Qp word-bomb-installer.issManual build:
pip install -r requirements.txt -r requirements-build.txt
pyinstaller --noconfirm --clean word-bomb-gui.spec
pyinstaller --noconfirm word-bomb-cli.spec- No words found: Make sure you entered the correct letters.
This is for educational purposes. Use responsibly and check Discord's terms of service.
Licensed under the MIT License. See LICENSE for details.


