RULES:

1. Press the start button for the first time and you are all set .
2. The game generates a 4 digit number so you have to enter your guess of that  digit number and  press enter in the textfield.
3. If  one of the digit  in  your guess matches with digit in the generated number (irrespective of    the position of the didgit in the generated number)  you will be prompted  with One cow.
4.  If  one of the digit in your guess number matches with a digit in the generated number with exact postition than you hit a Bull.
5. If you have 4 bulls you win the game since you guessed the number righ...so all the Best :-)

Friendly,
Jayesh R Prajapati
 

 
Here is Source Code for free.
For the list of Free applets go to HOME page.