

The puzzle may also be to determine a yes-no question which the visitor can ask in order to discover a particular piece of information. Usually the aim is for the visitor to deduce the inhabitants' type from their statements, but some puzzles of this type ask for other facts to be deduced. The puzzles involve a visitor to the island who meets small groups of inhabitants. The puzzles are set on a fictional island where all inhabitants are either knights, who always tell the truth, or knaves, who always lie. The name was coined by Raymond Smullyan in his 1978 work What Is the Name of This Book? Knights and Knaves is a type of logic puzzle where some characters can only answer questions truthfully, and others only falsely.
