Subject: Logic Problem
Name: Sean Pearson
Who is asking: Teacher
Our teacher gave us a logic problem involving two villages: the village of truth, and the village of lies. The problem is in asking two guards the right question to gain entrance to the fenced compound the villages are in without being shot. Have you heard of this problem ?
I know a problem that is similar to the one you describe. It goes like this.
There are two villages, the Village Of Truth and the Village Of Lies. People in the Village Of Truth always tell the truth and people in the Village of Lies always lie. You arrive at a village without knowing which it is. There are two guards and you are only allowed one question. What question do you ask to determine if you are at the Village of Truth or the Village of Lies?
Is this the problem you have in mind?