Skip to content

A library to back and support the times' word game of a similar name

License

Notifications You must be signed in to change notification settings

knordstrom/spelling-bean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spelling-bean

A library to back and support the times' word game of a similar name.

To run tests, usenpm test from the main directory.

Coverage:

----------------|---------|----------|---------|---------|-------------------

File % Stmts % Branch % Funcs % Lines Uncovered Line #s
All files 100 95 100 100
Guess.js 100 100 100 100
Puzzle.js 100 91.66 100 100 25
SpellingBee.js 100 100 100 100
Word.js 100 100 100 100
---------------- --------- ---------- --------- --------- -------------------

To access the API (and thus play the game), execute npm start. The API runs on localhost:3000 by default and there are presently two endpoints:

  • /random Returns the key of a randomly selected game from the dictionary
  • /guess?key=[KEY]&guess=[WORD_BEING_GUESSED] Plays the game with key KEY by guessing WORD_BEING_GUESSED

About

A library to back and support the times' word game of a similar name

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published