xmgongzhu (Version 1.1) ---------------------- GongZhu(PigDriving) is a Chinese game, which is normally played by 4 or 6 people with one or two decks of cards, it may or may not include Jokers. The normal strategy is to push other players to get as much as possible negative scores. This game software was implemented in C++ and Motif, which includes the following features: (1) played by 4 or 6 people; (2) network talking ability among players; (3) one or two decks of cards, when played by 6 people with two decks, Jokers are included. (4) support implicit/explicit show types(Liang4 Pai2) (5) support pair game (4 people) group game(6 people) (6) setting the negative up limit. A X-terminal with Motif installed is a must for the starting player, but a X-terminal with/without Motif installed for the rest players. This software includes the following files upon uncompressing xmgongzhu1.1.tar.gz: README (this file) Imakefile (used to create a machine-specific Makefile by using xmkmf) Makefile.raw (Note: you may need modify it) xmgongzhu.c (main program) GameDefs.h (constants definitions) Game.h (class definitions) Game.c (class implementations) xmgongzhu.hlp (a manual file, which also serves as online help file when "Help" button is pushed on the graphic user interface) xmgongzhu.res (the resource file of this game) bitmaps (a directory of bitmap files) Note: (1)Since the Motif library on some systems is not located under default directory, you may consult your system operator to get correct Makefile to compile this game. (2)A Imakefile is included for users who may try to use 'xmkmf' to create machine specific Makefile, but the created Makefile is not guaranteed to be correct. i.e. type 'xmkmf' then 'make' to make the executable. -------------------------------------------------------------- Copyright (c) 1995. by Tianlong Chen. Permission to use, copy, modify, and distribute this software and its document for any non-commercial purpose is hereby granted without fee, provided that this copyright notice appear in supporting documentation, and that the author name of Tianlong Chen not be used in advertising or publicity pertaining to distributing this software without prior specific, written permission from Tianlong Chen. IT IS PROVIDED "AS IS" WITHOUT ANY EXPRESSED OR IMPLIED WARRANTY OF ANY KIND. IN NO EVENTS SHALL TIANLONG CHEN BE LIABLE FOR ANY INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH OR ARISING OUT OF THE USE OF THIS SOFTWARE. * Open Software Foundation, OSF, OSF/Motif and Motif are trademarks of the Open Software Foundation, Inc. * X Window System is a trademark of Massachusetts Institute of Technology. * UNIX is a registered trademark of UNIX System Laboratories,Inc. -------------------------------------------------------------- I would like to express my gratitude towards my friends: Xie Ming, Fan Junyin, and Wu Jinnan. They helped to create all the bitmap files used for displaying the cards, and to test the basic feature of the software. Author: Tianlong Chen tichen@peruvian.cs.utah.edu