SkillAgentSearch skills...

WordSearch

Word search generator

Install / Use

/learn @Tazeg/WordSearch
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Word Search

A "word search" puzzle generator in PHP.

Screenshot

<img src="https://fr.jeffprod.com/img/blog/motsmeles.png">

Required

PHP

Installation

Extract files on your web server or your computer.

Usage

In your browser, load the index.php page.
To generate a grid in command line, type php index.php :

require_once 'class.grid.php';
require_once 'class.word.php';

$grid=new Grid(5); // grid size, from 3 to 20
$grid->gen(); // generate the puzzle
echo $grid->render(Grid::RENDER_TEXT); // display it. Use $grid->render() for HTML output
echo "Words to find (".$grid->getNbWords().") :\n";
echo $grid->getWordsList("\n"); // argument is word separator

For example, the result in command line is :

I R E A C 
I D O X R 
T V E X A 
S K I E N 
Z W L V S 
Words to find (6) :
CRANS
IDEE
OEIL
REAC
SKIE
VEXA
View on GitHub
GitHub Stars14
CategoryDevelopment
Updated2y ago
Forks8

Languages

PHP

Security Score

80/100

Audited on Jan 7, 2024

No findings