Skip to content

jasoncabot/linkagram

Repository files navigation

Linkagram

Make words by connecting letters. Each game is unique and you must find all the words.

image

Config

You can change a few things by specifying URL parameters.

Query Parameter Description Default Value
id Seed for random number generator. Two games of the same size, words, letters and id will be identical Math.random() * 10000
width Number of letter columns to generate 4
height Number of letter rows to generate 4

Running locally

git clone ...
yarn dev

How it's written

Typescript for the code, Bulma for the style. Pure DOM manipulation for the components

How it works

  1. When you load the page, a dictionary of available words and letter frequencies of the english language is loaded
  2. The correct number of letter tiles are generated, with links between them to form a graph of letters
  3. A Trie is built to find all words that can be made on this particular board
  4. Each complete word entered by the user is checked to see if it's valid or not, or whether it's already been discovered in this game

About

Daily word puzzle to find all words by linking letters

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published