Skip to content

NimerA/WordChain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM version Build Status

Word Chain

A Simple implementation of the Word Chain game using backtracking.

Install

$ npm install --save word-chain

Usage

const wordChain = require('word-chain');

const dictionary = ['cat', 'hat', 'hats', 'bats', 'mat', 'mats', 'at', 'bat', 'cog', 'cot', 'dog'];

const result = wordChain('cat', 'dog', dictionary);
//=> ['cat', 'cot', 'cog', 'dog']

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published