Skip to content

qmacro-org/pirdle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puzzle

A simple Wordle / Lingo style puzzle server.

npm install
npm run server

Then go to localhost:8000 (or directly to the /new link) to have a new word to guess. You can also (manually) add a word length value via the wordlength query parameter, like this: http://localhost:8000/new?wordlength=6.

For now, the words.js module expects a dictionary of words in /etc/dictionaries-common/words (I'm developing this in a Debian based dev container, and added the wamerican-large package for this).

Some general design principles guiding this experiment:

  • puzzle server and (eventually) client(s)
  • stateless server operation
  • word to guess is encoded in the URL (encoding, not encryption, is enough)
  • guess data maintained in cookies
  • simple HTML and JSON outputs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published