12-06-2005
Any specific books that would be worth playing?
9 More Discussions You Might Find Interesting
1. IP Networking
HI folks. I am developing a protocol and I need to bind to an IP address that is not configured to my machine. The problem is with bind(). The sysctl system call seamed to overcome the problem of bind if you set the proc/sys/net/ipv4/ip_nonlocal_bind flag. Although I tryed to set the flag either... (7 Replies)
Discussion started by: developer
7 Replies
2. UNIX for Dummies Questions & Answers
I am a new Unix user looking for ways, other than time, to become an effective unix administrator. All sugestions welcome.
Thanks (10 Replies)
Discussion started by: dtooth71
10 Replies
3. AIX
Dear All
Kindly provide me with a difference between hdiskpower and hdisk
regards (2 Replies)
Discussion started by: magasem
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am a java professional working with a MNC as a Senior Software Engineer.I have done my masters in computer scinece. I always had liking for UNIX . I had UNIX as one of the subject for my masters but could not pursue it as needed a job at that time . But now I would like to parsue my... (1 Reply)
Discussion started by: amigia
1 Replies
5. UNIX for Dummies Questions & Answers
I'm looking to buy some books to help me learn more about Unix and shell scripting?
I have been looking at books i.e. Classic Shell Scripting,Unix power tools
Just don't know which is the best outthere for me i know the basics but don't want to buy books that will be no good
I currently am... (4 Replies)
Discussion started by: Pablo_beezo
4 Replies
6. Shell Programming and Scripting
Can somebody explain me the following part within a awk command:
awk '{for(i=1;i<=NF;i++) if ($i=="mm")c++}
Can somebody please explain me the part (i=1;i<=NF;i++) ????:D:D:D:D (1 Reply)
Discussion started by: RubinPat
1 Replies
7. Shell Programming and Scripting
Hi Friends,
I know very well the basic commands of Unix but i want to concentrate on unix shell programming can you please how to learn and suggest me how to become comfortable level.
Thanks in advance (1 Reply)
Discussion started by: victory
1 Replies
8. UNIX for Dummies Questions & Answers
So I have a Networking class at my university that involves learning the basic commands of unix (i.e. Chmod, cat, cp, ls, mv, rm, mkdir, rmdir, pwd, etc) and my professor had us download and install Solaris and PuTTY as a means of...I suppose practicing using/executing commands. However due to... (7 Replies)
Discussion started by: bo74
7 Replies
9. What is on Your Mind?
In case you have not seen it, we have a UNIX and Linux Timeline on FB.
If you have a few free moments, could you review the timeline and post back here in this thread with your suggestions and ideas for new entries and milestones?
Thanks! (1 Reply)
Discussion started by: Neo
1 Replies
SNAKE(6) BSD Games Manual SNAKE(6)
NAME
snake, snscore -- display chase game
SYNOPSIS
snake [-w width] [-l length] [-t]
snscore
DESCRIPTION
snake is a display-based game which must be played on a CRT terminal. 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 is
used. The -t option makes the game assume you are on a slow terminal.
You are represented on the screen by an I. The snake is 6 squares long and is represented by s's with an S at its head. 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
the keyboard.
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.
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 snscore.
FILES
/var/games/snakerawscores database of personal bests
/var/games/snake.log log of games played
BUGS
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.
BSD
May 31, 1993 BSD