Games for the Console

If you don't use X11, you also can have fun at the console because you can find an assortment of nearly 60 classic games you can play. Look under the /usr/games directory.One of the classics is the adventure game. This features an interactive text screen where you enter simple commands to try to delve into a cave, retrieve treasures, and escape in one piece. Start the game by typing the full pathname to the program, like this:

# /usr/games/adventure

Welcome to Adventure!!   Would you like instructions? yes

Somewhere nearby is Colossal Cave, where others have found fortunes in treasure and gold, though it is rumored that some who enter are never seen again.   Magic is said to work in the cave.   I will be your eyes and hands.   Direct me with commands of 1 or 2 words.   I should warn you that I look at only the first five letters of each word, so you'll have to enter "northeast" as "ne" to distinguish it from "north". (Should you get stuck, type "help" for some general hints. For information on how to end your adventure, etc., type "info".)

This program was originally developed by Will Crowther.   Most of the features of the current program were added by Don Woods. Address complaints about the UNIX version to Jim Gillogly (jim@rand.org).

You are standing at the end of a road before a small brick building. Around you is a forest.   A small stream flows out of the building and down a gully.

Enter commands such as inven, look, go west (or n, w, s, e, up, or down). Type quit to exit the game.

Want the challenge of a good chess game? Try the gnuchess program, which plays an extremely strong game of chess. You can find several versions of this game installed on your system. The gnuchess version uses cursor addressing to provide a basic graphic dis­play. The gnuchessr version scrolls each board after successive moves and uses reverse video and cursor addressing for a fancier display.Moves are entered by specifying the column and row as a letter and number, as in the following example:

# gnuchess

Enter [moves] minutes[:sec] [increment][+]: Computer GNU Chess

+--+--+--+--+--+--+--+--+

8 |  *R |  *N |  *B |  *Q |  *K |  *B |  *N |  *R |

+--+--+--+--+--+--+--+--+

7  |  *P  |  *P  |  *P  |  *P  |  *P  |  *P  |  *P  |  *P |

+--+--+--+--+--+--+--+--+

6  |        |        |        |        |        |        |        | | +--+--+--+--+--+--+--+--+

5  |        |        |        |        |        |        |        | | +--+--+--+--+--+--+--+--+

4  |        |        |        |        |        |        |        | | +--+--+--+--+--+--+--+--+

3 |        |        |        |        |        |        |        | | +--+--+--+--+--+--+--+--+

2 |    P |    P |    P |    P |    P |    P |    P |    P |

+--+--+--+--+--+--+--+--+

1   |    R |    N |    B |    Q |    K |    B |    N |    R |

+--+--+--+--+--+--+--+--+

a      b      c      d      e      f      g h Human

If you don't want to specify a timer, just press Enter after starting the game. To move the pawn up two squares from the lower rank, enter e2e4, and press the Enter key. The com­puter then makes its move, and new piece positions are updated on your display. The gnuchess program has more than 23 command-line options and features display play modes, hints, and timed games. For more information, see the gnuchess manual page.