An inhabitant has been killed in Knavesville and the Sheriff has interrogated four suspects. It is known that one of them is the killer. As is expected of Knaves, they alternated between telling the truth and lying (Not necessarily in that order).
Each suspect was first asked if he was the killer, to which the sheriff got the same answer from all the four suspects.
He then asked them, 'Who was the killer?' The answers to which are shown below.
Abbey said: Bart is the killer.
Bart said: Dean is the killer.
Cody said: Bart is lying when he says Dean is the killer.
Dean said: If Abbey did not kill him, then Bart did.
Who was the killer?
As each suspect was asked if he was the killer (with an assumption that the question was answered directly), three would have to have been telling the truth and one a lie, or three would have to have lied and only one told the truth.
If each suspect answered the first question "I am not the killer", then the killer is Cody.
If each suspect answered the first question "I am the killer", then the killer is Bart.

Posted by Dej Mar
on 20070308 07:11:46 