xwator

Calculate and graphically display generations of fish and sharks

Authored and Contributed by
Ronald Joe Record and Brian Chapman
Restrictions
Copyright 1993, 1994 Ronald Joe Record and Brian Chapman
Availability
The mathrec source code is freely redistributable. The authors maintain binary distributions for Caldera OpenLinux 3.1, OpenServer, UnixWare 7 and Open UNIX 8. These distributions and the source code are available via:

Binary Distributions
OpenLinux/Open UNIX ftp://ftp2.sco.com/pub/.../RPMS/mathrec-1.1c-1col.i586.rpm (no longer available)
UnixWare 7 ftp://ftp2.sco.com/pub/skunkware/uw7/Packages/mathrec-1.1b.pkg
OpenServer ftp://ftp2.sco.com/pub/skunkware/osr5/vols/mathrec-1.1c-VOLS.tar

Source Code Distributions
Source RPM ftp://ftp2.sco.com/pub/.../SRPMS/mathrec-1.1c-1col.src.rpm (no longer available)
Gzip'd tar archive ftp://ftp2.sco.com/pub/skunkware/src/x11/misc/mathrec-1.1c.tar.gz

Description
Xwator is a simulation of sharks and fish with the fish "swimming" around and the sharks "eating" the fish. We added some rules to simulate evolution amongst both the sharks and the fish.
Build
To build with the Imakefile, first type "xmkmf" or "imake -DUseInstalled -I/usr/lib/X11/config" if your system doesn't have xmkmf. Then just type "make" and the xwator binary will be built.

The manual pages can be formatted by typing "nroff -man xwator.man > xwator.1"

Install
To install xwator, simply run "make install ; make install.man" as root.
Usage
xwator [-CEPe] [-R res] [-w width] [-h height]
	[-M SHARK_MUTATE] [-S SHARK_SPAWN] [-T SHARK_STARVE]
	[-m FISH_MUTATE] [-s FISH_SPAWN] [-t FISH_CRUSH]
	Where :
	'-C' indicates display population curves
	'-E' indicates use full screen
	'-P' indicates suppress population return maps
	'-c' indicates continue computing
	'-e' indicates erase screen every PPL generations
	Defaults :
	width=100 height=80
	SHARK_SPAWN=10 SHARK_MUTATE=400 SHARK_STARVE=2
	FISH_SPAWN=7 FISH_MUTATE=400 FISH_CRUSH=500
Safety
I have used these for years without harm.
Work Planned
None
Documentation
manual pages.
Feedback
Ideas, comments, additions, deletions, suggestions, bug reports, code review,... e-mail Ronald Record at rr@ronrecord.com