rhl60.htm

来自「linux的初学电子书」· HTM 代码 · 共 1,874 行 · 第 1/3 页

HTM
1,874
字号

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Hangman</B></FONT></CENTER></H5>

<BR>

<P>Type hangman at the command prompt. You won't miss the color graphics. The game is self-explanatory, but just in case, a man page is available; type man hangman. Hangman picks its words at random; sometimes the choices seem quite impossible to guess.

<BR>

<BR>

<A NAME="E69E617"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Card Games</B></FONT></CENTER></H4>

<BR>

<P>Because of the lack of graphics, the following games are not as successful as the character-based word games.

<BR>

<BR>

<A NAME="E70E44"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Canfield</B></FONT></CENTER></H5>

<BR>

<P>Type canfield at the command prompt. This is a version of solitaire. A man page is available by typing man canfield. This game does not have the time-wasting potential of graphics and mouse-based solitaire games.

<BR>

<BR>

<A NAME="E70E45"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Cribbage</B></FONT></CENTER></H5>

<BR>

<P>Type cribbage at the command prompt. If you're a cribbage fan, this game is for you. A man page is available by typing man cribbage.

<BR>

<BR>

<A NAME="E70E46"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Go Fish</B></FONT></CENTER></H5>

<BR>

<P>Type fish at the command prompt. It's you against the computer at Go Fish. A man page is available by typing man fish. One confusing aspect is that sometimes several actions are displayed all together on the screen (for instance, you have to go fish, 
the computer has to go fish, and it's back to you, all in one block).

<BR>

<BR>

<A NAME="E69E618"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Board Games</B></FONT></CENTER></H4>

<BR>

<P>These are character-based versions of board games. The play quality is variable; Backgammon is probably the best of the lot.

<BR>

<BR>

<A NAME="E70E47"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Backgammon</B></FONT></CENTER></H5>

<BR>

<P>Type backgammon at the command prompt; or, for an easy-to-follow tutorial on how to play Backgammon, type teachgammon. These games don't suffer from lack of graphics, but the lack of a pointing device such as a mouse means that specifying your moves is 
a cumbersome task, requiring entries such as 8-12,4-5. Typing ? at the game prompt gives you help on entering your moves.

<BR>

<P>Typing man backgammon will give you the manual entry for both Backgammon and Teachgammon.

<BR>

<BR>

<A NAME="E70E48"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Chess</B></FONT></CENTER></H5>

<BR>

<P>Several chess and chess-related programs come in the GNU Chess package. Type gnuchess at the prompt to play chess against the computer. There is an analysis program, gnuan. The game utility prints the chessboard position to a PostScript printer or file.


<BR>

<P>Enter your moves using standard algebraic notation&#151;for instance, e2-4.

<BR>

<P>This is an elaborate package; you should start by reading the man page.

<BR>

<BLOCKQUOTE>

<BLOCKQUOTE>

<HR ALIGN=CENTER>

<BR>

<NOTE>There seem to be some problems with startup messages overwriting parts of the chessboard.</NOTE>

<BR>

<HR ALIGN=CENTER>

</BLOCKQUOTE></BLOCKQUOTE>

<BR>

<A NAME="E70E49"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Mille Miglia</B></FONT></CENTER></H5>

<BR>

<P>Type mille at the command prompt. This is the Linux version of a Parker Brothers racing game. You should read the man page before starting, because the game's commands are not very intuitive. To see the man page, type man mille.

<BR>

<BR>

<A NAME="E70E50"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Monopoly</B></FONT></CENTER></H5>

<BR>

<P>Type monop at the command prompt. This is a character-based version of the Parker Brothers game Monopoly. The computer does not actually play; it simply keeps track of who owns what and how much money each player has. You can play by yourself, but it's 
pretty obvious that you will, eventually, win! Unfortunately, the board is not displayed in any form, making it quite difficult to keep track of what's happening. This is an interesting effort, but the play is poor. A man page is available.

<BR>

<BR>

<A NAME="E69E619"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Simulations</B></FONT></CENTER></H4>

<BR>

<P>The following games let you try your hand at being in charge. They are open-ended, in that each game is different and does not follow a canned plot. They combine character graphics, for instance, a radar display, with text readouts and text-based 
commands.

<BR>

<BR>

<A NAME="E70E51"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Air Traffic Control</B></FONT></CENTER></H5>

<BR>

<P>Type atc at the command prompt. Type man atc and read the man page first; otherwise, you will be responsible for one or more air tragedies! This game runs in real time. A good supply of caffeine will probably help you do well.

<BR>

<BR>

<A NAME="E70E52"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Trek</B></FONT></CENTER></H5>

<BR>

<P>Type trek at the command prompt. You can &quot;go where no one has gone before,&quot; hunt (and be hunted by) Klingons, and so on. A man page is available by typing man trek; read it before playing to avoid being a disgrace to the Federation.

<BR>

<BR>

<A NAME="E69E620"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Video Games</B></FONT></CENTER></H4>

<BR>

<P>The following games all rely on a full-screen display, although all graphics are assembled from the standard character set.

<BR>

<BR>

<A NAME="E70E53"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Robots</B></FONT></CENTER></H5>

<BR>

<P>Type robots at the command prompt. Robots on the screen pursue you; your only hope is to make two robots collide, at which point the robots explode. The resulting junk heap destroys any robots that run into it. You move about the screen using the hjkl 
keys, as used by the vi editor (diagonal movement is allowed, using yubn). Moves are simultaneous: each time you move, so do the robots. Sometimes, though, you have to teleport to get out of an impossible situation. You die if a robot touches you; 
otherwise, after clearing the screen, you go on to a bigger and better wave of robots. A man page is available by typing man robots.

<BR>

<BLOCKQUOTE>

<BLOCKQUOTE>

<HR ALIGN=CENTER>

<BR>

<NOTE>Some Linux distributions might include a version of Robots that has been hacked or modified so that you can't make a misstep that brings you in contact with a robot (thus leading to your demise). This takes away from the challenge of the game.</NOTE>


<BR>

<HR ALIGN=CENTER>

</BLOCKQUOTE></BLOCKQUOTE>

<BR>

<A NAME="E70E54"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Tetris</B></FONT></CENTER></H5>

<BR>

<P>Type tetris at the command prompt. Ironically, although it does not look anywhere near as professional as Xtetris or other full-graphics versions, it plays very well&#151;especially if you're used to the arcade version of Tetris. Use the arrow keys for 
piece movement and rotation.

<BR>

<BR>

<A NAME="E70E55"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Worm</B></FONT></CENTER></H5>

<BR>

<P>Type worm at the command prompt. You are a worm, moving about the screen and eating numbers. As you eat the numbers, you grow in length. Do not run into yourself or into the wall! How long can you get before you (inevitably) run into something? Note 
that you still slowly crawl forward, even if you don't enter a move command.

<BR>

<P>A man page is available by typing man worm.

<BR>

<BR>

<A NAME="E69E621"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Math Games and Utilities</B></FONT></CENTER></H4>

<BR>

<P>The following programs are small and interesting, although perhaps not that exciting.

<BR>

<BR>

<A NAME="E70E56"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Arithmetic</B></FONT></CENTER></H5>

<BR>

<P>Type arithmetic at the command prompt. You are asked the answer to simple addition questions. This goes on until you type Ctrl-C to exit. A man page is available by typing man arithmetic.

<BR>

<BR>

<A NAME="E70E57"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>BCD Punch Card Code, Morse Code, Paper Tape Punch Code</B></FONT></CENTER></H5>

<BR>

<P>Type bcd at the command line to convert text you type to a punched card, type morse to see your text converted to Morse code, or type ppt for paper punch tape output. If the command line doesn't contain any text to encode, the programs go into 
interactive mode. Note that the Enter character you must use to finish each line of input gets coded as well. The bcd man page covers all three programs.

<BR>

<BR>

<A NAME="E70E58"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Factor</B></FONT></CENTER></H5>

<BR>

<P>Type factor at the command line. This command provides you with the prime factors of any number you supply. You can type factor &lt;number&gt; to factor just the one number, or factor without any number to go into interactive mode. Numbers can range 
from &#151;2,147,483,648 to 2,147,483,648. The following is a sample run of Factor:

<BR>

<PRE>

<FONT COLOR="#000080">d$ factor

123

123: 3 41

36

36: 2 2 3 3

1234567

1234567: 127 9721

6378172984028367

factor: ouch

d$</FONT></PRE>

<BR>

<A NAME="E70E59"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Primes</B></FONT></CENTER></H5>

<BR>

<P>Type primes at the command prompt. If you include a range on the command line, Primes displays all prime numbers in the range. If no range is included, Primes waits for you to enter a number, and then starts displaying primes greater than that number. 
The program is surprisingly fast! A man page is available by typing man primes.

<BR>

<BR>

<A NAME="E69E622"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Other Thinking Games</B></FONT></CENTER></H4>

<BR>

<P>The following programs might actually be a bit frustrating to play with initially, but they can also provide hours of addiction!

<BR>

<BR>

<A NAME="E70E60"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Sokoban</B></FONT></CENTER></H5>

<BR>

<P>Imagine yourself in charge of a warehouse containing a maze and lots of bales of cotton. Each bale is so heavy that you can only push it and not pull it. So don't push a bale into a spot where you cannot push it out. Each level in this game gets more 
and more challenging as you attempt to collect all the bales into a loading area where you can move to the next level. The source code is available from sunsite.unc.edu in the file sokoban-src.tar.gz.

<BR>

<BR>

<A NAME="E70E61"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>DOOM</B></FONT></CENTER></H5>

<BR>

<P>This exciting, though controversially gory, game is now ported to Linux as well. Complete with sound support and exquisite graphics, this Linux port does its DOS counterpart justice. One problem to keep in mind though, is that your colormaps in X may be 
mixed up once your cursor moves out of the X terminal you run DOOM under. Two other things to keep in mind&#151;you have to rebuild your kernel to add the sound support, and the version 1.666 of DOOM will not run external WAD files. (I recommend that you 
get the registered version.)

<BR>

<BR>

<A NAME="E70E62"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Conquest</B></FONT></CENTER></H5>

<BR>

<P>This is an elaborate game of global conquest with equally complex instructions and display. At least the files are in an executable form, and you do not have to build them. One thing to remember is to use the xconq file and run xset fp rehash to bring 
up the correct fonts. A comparable game, called Empire, is also available in source from tsx-11.mit.edu, but you need a network connection to run this game.

<BR>

<BR>

<A NAME="E69E623"></A>

<H4 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Miscellaneous Demos and Utilities</B></FONT></CENTER></H4>

<BR>

<P>The following programs might interest you.

<BR>

<BR>

<A NAME="E70E63"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Caesar</B></FONT></CENTER></H5>

<BR>

<P>Type caesar at the command line. This program attempts to decrypt encoded words. Type man caesar to see the man page.

<BR>

<BR>

<A NAME="E70E64"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Fortune</B></FONT></CENTER></H5>

<BR>

<P>Type fortune at the command line for your Linux fortune-cookie message.

<BR>

<BR>

<A NAME="E70E65"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Number</B></FONT></CENTER></H5>

<BR>

<P>Type number &lt;number&gt; at the command line. Converts the Arabic number given as &lt;number&gt; (for example, 41) to its equivalent in English (forty-one).

<BR>

<BR>

<A NAME="E70E66"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Rain</B></FONT></CENTER></H5>

<BR>

<P>Type rain at the command prompt. Your screen becomes rippled like a puddle in a rainstorm. On most Linux console screens, the program runs too fast to look even remotely convincing. Press Ctrl-C to exit.

<BR>

<BR>

<A NAME="E70E67"></A>

<H5 ALIGN=CENTER>

<CENTER>

<FONT SIZE=4 COLOR="#FF0000"><B>Worms</B></FONT></CENTER></H5>

<BR>

<P>Type worms at the command prompt (do not confuse with the Worm program described previously). This fills your screen with squirming worms. Like Rain, the program runs much too fast on a Linux console screen. A man page is available by typing man worms.

<BR>

<BR>

<A NAME="E68E465"></A>

<H3 ALIGN=CENTER>

<CENTER>

<FONT SIZE=5 COLOR="#FF0000"><B>Summary</B></FONT></CENTER></H3>

<BR>

<P>You should now be able to while away the time by sitting at your machine and playing your favorite games. If you haven't installed the X Window system yet, maybe this is an extra incentive!<A NAME="I2"></A>

<P ALIGN=LEFT>

<A HREF="rhl59.htm" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/rhl59.htm" TARGET="_self"><IMG SRC="purprev.gif" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/purprev.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="Previous Page"></A>

<A HREF="#I0" TARGET="_self"><IMG SRC="purtop.gif" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/purtop.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="Page Top"></A>

<A HREF="index-1.htm" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/index.htm" TARGET="_self"><IMG SRC="purtoc.gif" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/purtoc.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="TOC"></A>

<A HREF="rhlxa.htm" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/rhlxa.htm" TARGET="_self"><IMG SRC="purnext.gif" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/purnext.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="Next Page"></A>


</BODY></HTML>



⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?