DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T m

⟦6f505d95f⟧ TextFile

    Length: 4113 (0x1011)
    Types: TextFile
    Names: »mahjongg.6.orig«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/Sun/Mahjongg/mahjongg.6.orig« 

TextFile

.\"	Copyright 1988 Mark A. Holm
.\"
.\"	Permission is given to copy and distribute for non-profit purposes.
.\"
.TH MAHJONGG 6 "20 May 1988"
.SH NAME
mahjongg \- Solitaire game using mahjongg tiles written for sunview
.SH SYNOPSIS
.B /usr/games/mahjongg
[ \fB-n \fI###\fR ] [ \fB-b\fR ] [ \fB-c\fR ]
.SH DESCRIPTION
.I Mah jongg
is an ancient chinese game whose origins are supposed to date back around
3000 years. It is typically a four player game with similarities to most
popular card games. This version is a solitaire game using the mahjongg
tiles. It was inspired by a version originally seen on a PC. 
.PP
This game was developed while toying with the idea of full color icons. Once
we had them, it was necessary to find some "practical" use for them. Since we
had never seen full color and black/white support built into a game, that
also became a challenge. Mahjongg is the result.
.SH THEORY OF PLAY
The object of the game is to remove all the tiles from the board in matching
pairs. Tiles match only if they are identical. Exceptions are the flower
and season tiles. Any season tile will match any other season tile and any
flower tile will match any other flower tile. Tiles may be removed from the
board only if they have either a left or a right edge open and they do not have
a tile covering them.
.PP
The display is divided into two areas:  the play area, which shows the
tiles, and the control window, which shows the
number of tiles remaining and the game control buttons.  As tiles are removed
the "Tiles Remaining" count will be updated and play related messages and
mouse button defintions will 
be shown just below the control buttons in the control window.
.PP
Tiles are selected by placing the mouse icon on a tile and pressing the left
button. To deselect a tile simply repress the left button while on the tile.
Any time an invalid selection is made, any previous selections for that turn
are cleared.
After selecting a pair of tiles, you will be asked to confirm your choice.
Press the left mouse button to confirm or the right mouse button to cancel.
.SH HELP FEATURES
Two help features are currently implemented. By selecting the "help" button in
the control window when no tiles are selected, you will be shown all available
tile combinations. To see each combination press the left mouse button until
the message "No more moves [DONE] [] []" is shown. To cancel "help" press the
right mouse button. If you have selected a tile, pressing the middle mouse
button or selecting the "help" button in the control window, will find the 
first matching tile (if any) starting at the top of the pile and working down.
If a match is found, you will be asked to confirm and the pair will be
removed from the board.
.SH UNDO
Since some people tend to be a little faster on the mouse then they should be,
the undo feature was implemented. The "undo" button replaces the previous
pair that was removed from board. You can continue to press undo until you
get back to a new board.
.SH NEW and AGAIN
Selecting the "new" button in the control window restarts the game with a new
board. Selecting the "again" button restarts the game using the same board.
Either button may be used at any time during the game.
.SH OPTIONS
.IP \fB\-n \fI###\fR
Start with board number ###. Boards through 20011 are available.
.IP \fB\-c\fR
Set color mode. Necessary to run in color on a Sun 3/60.
.IP \fB\-b\fR
Set black and white mode. Had color. Why not black and white?
.SH DIAGNOSTICS
.SH FILES
/usr/games/mahjongg			executable
.SH AUTHOR
Copyright 1988 Mark A. Holm
.br
<tektronix!tessi!exc!markh>
.SH BUGS
If a tile is selected when the game goes iconic it is not drawn as selected
when the game is re-opened.  the board returns to normal after the next
icon pair is removed or by pressing undo (backs up one move).
.PP
Sunview option "-WI iconfile" only works in black and white.
.PP
Board number is not checked very close. If you put something wierd in, you 
deserve everthing you get.
.PP
No score file. It is up to you to keep track of who did how well on what board.
.PP
Not as pretty in black and white.