Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dab(6) [netbsd man page]

DAB(6)								 BSD Games Manual							    DAB(6)

dab -- Dots and Boxes game SYNOPSIS
dab [-aw] [-n ngames] [-p <c|h><c|h>] [xdim [ydim]] DESCRIPTION
dab is a game where each player tries to complete the most boxes. A turn consists of putting one border of a box; the player setting the fourth and final border of a box gets the point for the box and has another turn. The keys used are the vi keys: k for up, j for down, h for left, and l for right. To switch between even and odd rows, use one of the fol- lowing keys: u (diagonal right up), y (diagonal left up), b (diagonal left down), n (diagonal right down); <space> sets a new border, CTRL-L and CTRL-R redraw the screen, and q quits the game. Support options are: -a Don't use the alternate character set. -n ngames ngames games will be played. (Especially useful in -p cc mode.) -p <c|h><c|h> Select which of the two players is a human or a computer. The first argument is the first player; c stands for computer and h for human. -w Wait for a character press between games. xdim and ydim define the size of the board in the x and y dimensions. SEE ALSO
Elwyn R. Berlekamp, The Dots and Boxes Game: Sophisticated Child's Play, A K Peters,, 2000. AUTHORS
Christos Zoulas <> BSD
December 24, 2003 BSD

Check Out this Related Man Page

FISH(6) 							 BSD Games Manual							   FISH(6)

fish -- play ``Go Fish'' SYNOPSIS
fish is the game ``Go Fish'', a traditional children's card game. The computer deals the player and itself seven cards, and places the rest of the deck face-down (figuratively). The object of the game is to collect ``books'', or all of the members of a single rank. For example, collecting four 2's would give the player a ``book of 2's''. The options are as follows: -p Professional mode. The computer makes a random decision as to who gets to start the game, and then the computer and player take turns asking each other for cards of a specified rank. If the asked player has any cards of the requested rank, they give them up to the asking player. A player must have at least one of the cards of the rank they request in their hand. When a player asks for a rank of which the other player has no cards, the asker is told to ``Go Fish!''. Then, the asker draws a card from the non-dealt cards. If they draw the card they asked for, they con- tinue their turn, asking for more ranks from the other player. Otherwise, the other player gets a turn. When a player completes a book, either by getting cards from the other player or drawing from the deck, they set those cards aside and the rank is no longer in play. The game ends when either player no longer has any cards in their hand. The player with the most books wins. fish provides instructions as to what input it accepts. BUGS
The computer cheats only rarely. BSD
May 31, 1993 BSD
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

screen remains dark when box is on

I am somewhat new to UNIX. I inherited a sun ULTRA 5 box from my cousin. When I turn it on it seems to be working alright but I can't get a picture on the screen. The sound output from the CD player is working. The machine seems to be working but the only thing missing is the picture. When I... (4 Replies)
Discussion started by: ted
4 Replies

2. UNIX for Dummies Questions & Answers

I Need alot of help!!! please

Ok heres whats up I reacently got a old sun server with a dvd drive it currently has a database of car parts on it i want to know how to change it into and ftp that i could access from a windows computer to store files, website, pictures, 3d animations and anything else that i need to move... (7 Replies)
Discussion started by: alt+f4
7 Replies

3. What is on Your Mind?

pupp's computer died !! :(

so my windows xp box has died. trust me, if i didnt game so much id be using solaris or linux but they dont make games for them :( anyway, i've got a really beat up old linux laptop that i'm using now. it runs well it just can't handle most of todays web pages. gmail is awful on this thing!! i wish... (4 Replies)
Discussion started by: pupp
4 Replies

4. Shell Programming and Scripting

Table / Boxes Generation in PERL

Hi all, I was wondering, if there is any way to generate boxes/tables using perl to represent some data in better format. input : Name SAlary pranav 10000 ajay 5000 shri 15000 output : _________________________ |Name |Salary |... (3 Replies)
Discussion started by: PranavEcstasy
3 Replies

5. What is on Your Mind?

Your favourite computer games....

Hi all, there have been a tremendous evolution in the computer games from games like Tetris or DAVE or Prince of Persia or wolf3d... to Call of Duty or BattleField or tomb raider etc etc so let us know the games which you liked the most.... you can also mention about the gaming rig you... (32 Replies)
Discussion started by: vivek d r
32 Replies