I was working my way through some Knight and Knave Puzzles in Discrete Maths by Rosen, when I came across the following question:
There are inhabitants of an island on which there are three kinds of people:
Knights who always tell the truth
Knaves who always lie
Spies who can either lie or tell the truth.
You encounter three people, A, B, and C.
You know one of these people is a knight, one is a knave, and one is a spy.
Each of the three people knows the type of person each of other two is.
For this situation, if possible, determine whether there is a unique solution and determine who the knave, knight, and spy is :
A says "C is the knave,” B says, “A is the knight,” and C says “I am the spy"
Am I correct in saying my answer will work?