Knights, Knaves, and Normals Puzzle Generator

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration provides a generator of logic puzzles of the type knights, knaves, and normals. These puzzles are about an island in which some natives called "knights" always tell the truth, natives called "knaves" always lie, and "normals" sometimes lie and sometimes tell the truth. It is assumed that every inhabitant of the island is either a knight, a knave, or a normal. If an inhabitant makes a statement , then we may conclude that "if is a knight, then is true" and "if is a knave, then is false".

Contributed by: Izidor Hafner (March 2011)
Based on work by: Raymond M. Smullyan
Open content licensed under CC BY-NC-SA



Statements are randomly generated and checked for uniqueness of the solution.

R. M. Smullyan, What Is the Name of This Book?, Englewood Cliffs, NJ: Prentice–Hall, 1978.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.