Skip to content
/ cryptic Public

Functions to help you solve cryptic crossword clues, without giving you the answers

License

Notifications You must be signed in to change notification settings

idmyn/cryptic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@idmyn/cryptic

Functions to help you solve cryptic crossword clues, without giving you the answers.

credit

This repo is an adaptation of niallmurphy-ie/Cryptic-Crossword-Companion

usage

parseClue("Silly twit in charge is initially mystified by repartee")

// returns

{
  abbreviations: [
    {
      phrase: "in charge",
      abbreviations: ["ic"],
    },
    {
      phrase: "is",
      abbreviations: ["s", "est"],
    },
    {
      phrase: "by",
      abbreviations: ["per", "x"],
    },
  ],
  indicators: [
    {
      phrase: "silly",
      clueTypes: ["anagram"],
    },
    {
      phrase: "in",
      clueTypes: ["insertion", "linking", "letter selection"],
    },
    {
      phrase: "is",
      clueTypes: ["linking"],
    },
    {
      phrase: "initially",
      clueTypes: ["letter selection"],
    },
    {
      phrase: "by",
      clueTypes: ["juxtaposition"],
    },
  ],
}

About

Functions to help you solve cryptic crossword clues, without giving you the answers

Resources

License

Stars

Watchers

Forks