Bulls and Cows is an old code-breaking paper and pencil game for two players. More info at: http://en.wikipedia.org/wiki/Bulls_and_cows