I was trying to solve this on someone's flash version. That person didn't write the three things you can tell them, so it took me forever, until I found a link to this site and read about Bill Gates playing.
As that saying goes, "the smarter you are, the harder it is", it is half true. If you're smart at logical problems, this is nothing after the first roll. If you're smart at maths (like me), however, you'll have a hard time.
Congratulations on other people who solved it. Now go and torchure your friends.