Creates the Puzzle object.
Name.
Title.
Rank: 1 (easy) to 5 (genius).
Blurb.
Author (may be blank).
Source (may be blank).
Enabled (true or false).
Creates and appends fact to array of facts.
Clue number(s).
Noun(s) A of fact.
Verb of fact.
Link of fact.
Noun(s) B of fact, or null.
Name of fact, or null.
Initially enable/disable fact.
Fact.
Creates and appends fact(s) to array of facts.
Clue number(s).
Array of nouns to create fact(s).
Verb of fact(s).
Link of fact(s).
Name of fact(s), or null.
Initially enable/disable fact(s).
Creates and appends fact(s) to array of facts. Overload: nounA and nounB can each be one noun or a list of nouns.
Clue number(s).
Verb of fact(s).
Link of fact(s).
Name of fact(s), or null.
Initially enable/disable fact(s).
Creates and appends fact(s) to array of facts.
Clue number(s).
Array of nouns to create fact(s).
Verb of fact(s).
Link of fact(s).
Name of fact(s), or null.
Initially enable/disable fact(s).
Creates and appends fact(s) to array of facts.
Clue number(s).
Noun type 1.
Noun type 2.
Flag if first character of noun 2's name [not] match character.
Name of fact(s), or null.
Initially enable/disable fact(s).
Creates and appends fact(s) to array of facts.
Clue number(s).
Noun type or array of nouns to create fact(s).
Verb of fact(s).
Link of fact(s).
Noun type or array of nouns to create fact(s).
Name of fact(s), or null.
Initially enable/disable fact(s).
Creates and appends fact(s) to array of facts.
Clue number(s).
Noun 1 of fact(s).
Noun type 2 of fact(s).
Flag if first character of noun 2's name [not] match character.
Character to test.
Name of fact(s), or null.
Initially enable/disable fact(s).
Creates and appends link to array of links.
Name of link.
Noun type of link.
Function that returns verb based on relationship between two nouns.
Link.
Creates and appends noun type to array of noun types. Note: When first noun type is created, the "with" link is created.
Name of noun type.
Noun Type.
Creates and appends fact to array of facts.
Clue number(s).
Noun 1 of fact.
Verb of fact.
Link of fact.
Noun 2 of fact.
Name of fact.
Initally enable/disable fact.
Fact.
Returns clue number(s) in parenthesis from clueNum or name. Called by addOneFact, addRule.
Clue number(s).
Name of clue.
Clue number(s) as string.
Displays the encoded answer for development only. Called by isAnswer.
Returns noun given its one-based number of noun type, and itself.
One-based number of noun type.
One-based number of noun.
Noun.
Returns Noun Type given its one-based number.
One-based number of noun type.
NounType.
Return verb given its zero-based number.
Zero-based number.
Verb.
Determines if solution is correct. Called by addMark.
True if solution is correct (or answer is null), otherwise false.
Resets the puzzle. Called by solver.reset.
Validates puzzle and sets valid flag accordingly.
Status -1=fail, 0=okay.
Generated using TypeDoc
Puzzle class for the Mystery Master Logic Puzzle Solver. Note: A puzzle module returns the puzzle object - it does not inherit from this class!
mysterymaster.com. All rights reserved.
Michael Benson
2021-08-31