Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Word board generator
Erlang Shell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


This project let's you generate dense word boards.

First run:


Wait for "Done reading dictionary" info report

Then type this in the console:

  {rows, 5},
  {columns, 5},
  {grid_count, 5},
  {rounds, 300},
  {target_score, 500},
  {repeats, 2}

This will keep the top 5 (grid_count) grids between each round
from ten boards generated using a random perturbation.

If after 300 rounds the target score has not been reached
(ie one of the boards does not have over 500 words on it)
then the attempt is repeated.

If after two attempts a board has still not been generated,
the algorithm gives up.

For a better description of the algorithm.

I am new to erlang, and this algorithm runs slower than the c version
it also does not produce boggle boards as dense, but it can get into
the thousands of words for 5x5 boards, whichs is quite dense.

The reason for the slowness is because ets table lookups for trie
are much slower than native c trie structures.

The reason for less density in the boards is most likely because
I have not implemented recording results of perturbations either,
and each perturbation is truly random instead of being weighted on
past success rates.
Something went wrong with that request. Please try again.