Skip to content

Rian-Batista-Rx4n/word-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

🔤 Word Search Generator

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.


🧠 Features

  • 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

⚙️ How It Works

  1. Each word is placed randomly in one of several directions (→ ↓ ↘).
  2. The generator checks if the word fits without overlapping incorrectly.
  3. Empty cells are filled with random letters (A–Z).
  4. The final grid and word list are printed to the console.

🧱 Requirements

  • Python 3.6+
  • No external libraries required.

🚀 How to Run

Clone the repository and run the script:

git clone https://github.com/Rian-Batista-Rx4n/word-search
cd word-search
python3 word_search.py

About

A simple Python word search generator that randomly places multiple words in different directions within a customizable grid.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages