CowsNBulls is a project mainly written in ..., it's free.
Cows 'n bulls single script game
CowsNBulls is a classical guessing game. This implementation is for single player guessing the computer's number;
More information about the game in Wikipedia: http://en.wikipedia.org/wiki/Bulls_and_cows