[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 3


moo Command

Purpose

Starts the number-guessing game.

Syntax

moo

Description

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.

File


/usr/games Contains the system's games.

Related Information

The arithmetic command, back command, bj command, craps command, fish command, fortune command, hangman command, number command, quiz command, ttt command, turnoff command, turnon command, wump command.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]