
WORDGEN is a word search project that aims to save you in times of boredom. In addition to all the cognitive benefits that a word search already brings, it generates a random word search puzzle among 5 themes. You can add new themes and select specific themes as well.
To use WORDGEN, follow these steps:
- Clone the repository, navigate to it, and run
make install
- Once installed, you can start using WORDGEN by running the command:
wordgen
WORDGEN provides several helper commands for better customization and navigation:
USAGE: wordgen [--start] [--size <size>] [--theme <theme>]
OPTIONS:
--start
: Start the game.--size
: Set a custom board size. The size must be between 11 and 26.-t, --theme
: Select a theme. If none is selected, a theme will be chosen randomly.-h, --help
: Show help information.
You can easily add new themes to WORDGEN by creating a new text file. Here's how:
- Open your terminal.
- Once the terminal is open, navigate to your home directory by typing
cd ~
and pressingEnter
. - Next, navigate into the
.wordgen
directory by typingcd .wordgen
and pressingEnter
. - Inside the
.wordgen
directory, navigate into theThemes
directory by typingcd Themes
and pressingEnter
. - Here, you can create text files for your themes by using the
touch
command. For example, to add a new theme named "Sports", typetouch Sports.txt
and pressEnter
. - Open the created text file (e.g.,
Sports.txt
) and add the sports-related words, each on a new line.
If you want to solve a word search puzzle based on a specific theme, you can select the theme when running the program.
- When prompted to choose a theme, enter the name of the theme you want to use.
- Enjoy solving word search puzzles related to your chosen theme!
USAGE: wordgen --start --theme Sports
While playing a word search puzzle, you have several in-game options available. These options can be used by typing the corresponding command:
- !hint: Provides a hint for one of the words in the puzzle.

- !exit: Quits the current game.

- !resolve: Automatically resolves the current puzzle and shows all the word placements.

Please note that if you only include very long words in the file, or if you include words longer than the size of the board, it may not be possible to create the game. For example, if you have an 11 by 11 board and only include words with more than 12 letters, it will not be possible to create the game.
Contributions to WORDGEN are welcome! If you have any ideas for improvement or new features, feel free to submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
Thank you for using WORDGEN! We hope you enjoy solving word search puzzles and benefiting from the cognitive benefits it brings.