TTT(6) Games Manual TTT(6)NAME
ttt - tic-tac-toe
Ttt is the X and O game popular in the first grade. This is a learning program that never makes the same mistake twice.
Although it learns, it learns slowly. It must lose nearly 80 games to completely know the game.
/usr/games/ttt.k learning file
Check Out this Related Man Page
SNAKE(6) Games Manual SNAKE(6)NAME
snake, snscore - display chase game
/usr/games/snake [ -wn ] [ -ln ]
Snake is a display-based game which must be played on a CRT terminal from among those supported by vi(1). The object of the game is to
make as much money as possible without getting eaten by the snake. The -l and -w options allow you to specify the length and width of the
field. By default the entire screen (except for the last column) is used.
You are represented on the screen by an I. The snake is 6 squares long and is represented by S's. The money is $, and an exit is #. Your
score is posted in the upper left hand corner.
You can move around using the same conventions as vi(1), the h, j, k, and l keys work, as do the arrow keys. Other possibilities include:
sefc These keys are like hjkl but form a directed pad around the d key.
HJKL These keys move you all the way in the indicated direction to the same row or column as the money. This does not let you jump away
from the snake, but rather saves you from having to type a key repeatedly. The snake still gets all his turns.
SEFC Likewise for the upper case versions on the left.
ATPB These keys move you to the four edges of the screen. Their position on the keyboard is the mnemonic, e.g. P is at the far right of
x This lets you quit the game at any time.
p Points in a direction you might want to go.
w Space warp to get out of tight squeezes, at a price.
! Shell escape
^Z Suspend the snake game, on systems which support it. Otherwise an interactive shell is started up.
To earn money, move to the same square the money is on. A new $ will appear when you earn the current one. As you get richer, the snake
gets hungrier. To leave the game, move to the exit (#).
A record is kept of the personal best score of each player. Scores are only counted if you leave at the exit, getting eaten by the snake
is worth nothing.
As in pinball, matching the last digit of your score to the number which appears after the game is worth a bonus.
To see who wastes time playing snake, run /usr/games/snscore .
/usr/games/lib/snakerawscores database of personal bests
/usr/games/lib/snake.log log of games played
/usr/games/busy program to determine if system too busy
When playing on a small screen, it's hard to tell when you hit the edge of the screen.
The scoring function takes into account the size of the screen. A perfect function to do this equitably has not been devised.
4th Berkeley Distribution May 20, 1985 SNAKE(6)
I have a problem of getting multiple LogWatch mails from my box. I have a cron setup to send me (and some other users) Logwatch report mail form our server. I end up getting multiple mails from all the boxes (other users have not complained of this). I cannot figure out why. I... (0 Replies)
Hi all, can someone tell me the easiest was to get disk info from a console.
I manage headless servers, and would like to collect the specs on hard drives installed without looking it up through Sun.
The boot messages only tell me the size/name e.g. 'Sun36G'
I want to know the rotation... (1 Reply)
In unix we can get profile on a c program like this ::
cc -g -p -o cpp_sw_gsmconverter_shailesh5 cpp_sw_gsmconverter_shailesh5.c
In the same manner how can I collect statistics in linux using gcc command.
Thanks in advance. (1 Reply)
hello=value some text
hello=string diff text
In the above given text in a file I want to replace hello=<something> with hello=hi,Like the one given below
hello=hi some text
hello=hi diff text
I am finding hard to get a solution since the hello=<something> can carry any pattern... (2 Replies)
I have data as follows, I wantto add a character to the word ending with “,”. Could you please help me how can we do this ?
Please view this code tag video for how to use code tags when posting code and data. (1 Reply)
Trying to ftp to a remote ftp server.
See following output:
ftp -dv xx.xx.xx.xx
Connected to xx.xx.xx.xx (xx.xx.xx.xx).
220 Microsoft FTP Service
Name (xx.xx.xx.xx:username): ftpuser
---> USER ftpuser
331 Password required for ftpuser.
---> PASS XXXX
230 User logged... (1 Reply)
getting error as below while executing script in linux.
Linux VGP-3GPSDB-LX 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
./imxtract.sh: line 395: unexpected EOF while looking for matching ``'
./imxtract.sh: line 402: syntax error:... (1 Reply)
I have reviewed many examples on-line about running another process (either PERL or shell command or a program), but do not find any usefull for my needs way. (Reviewed and not useful the system(), 'back ticks', exec() and open())
I would like to run another PERL-script from first one, not... (1 Reply)