A simple Word Search Generator built in Python 3, capable of placing multiple words in random directions within a square grid.
Each game is unique — words are randomly positioned horizontally, vertically, and diagonally, while empty spaces are filled with random letters.
- Random grid generation (default 11x11 - You can change it)
- Multiple words automatically placed (You can add or remove them later)
- Supports horizontal, vertical, and diagonal directions
- Prevents words from breaking across lines
- Fills remaining spaces with random letters
- Easy to customize and expand
- Each word is placed randomly in one of several directions (→ ↓ ↘).
- The generator checks if the word fits without overlapping incorrectly.
- Empty cells are filled with random letters (A–Z).
- The final grid and word list are printed to the console.
- Python 3.6+
- No external libraries required.
Clone the repository and run the script:
git clone https://github.com/Rian-Batista-Rx4n/word-search
cd word-search
python3 word_search.py