Starts the number-guessing game.
moo
The moo command picks a combination of four random, non-repeating numbers. You guess four numbers at the your guess? prompt. Each correct number in an incorrect position in the four number combination scores "cow." Each correct number in the correct position in the four number combination scores a "bull." For example:
your guess?
1470
bulls = 0 cows = 1
your guess?
In this example, one of the four numbers (1, 4, 7, and 0) is correct but in the incorrect position. None of the numbers are correct and in the correct position.
To quit the game, press the Interrupt (Ctrl-C) or End Of File (Ctrl-D) key sequence.
Item | Description |
---|---|
/usr/games | Contains the system's games. |