checkvic - an add-on for VGA Planets (PHOST)
checkvic [options] <planetsforvictory> <consecutiveturns> [<gamedirectory> [<rootdirectory>]]
The add-on checkvic for the Portable Host Project (PHOST) reports the quantity of planets each player holds. If a player controls the given number of planets for a distinct number of turns he will be declared as the winner of the game. Use this add-on in the AUXHOST2 phase.
Examples of use are (AUXHOST2.INI):
c:\vgapl\checkvic -e c:\vgapl\game1\checkvic.err 125 3 c:\vgapl\game1 c:\vgapl\checkvic 125 3 c:\vgapl\game1
checkvic -e /home/vgapl/game1/checkvic.err 125 3 /home/vgapl/game1 checkvic 125 3 /home/vgapl/game1
A winner has to control 125 planets for 3 consecutive turns. The entire number of planets each player holds will be reported.
Another examples are
c:\vgapl\checkvic -u -e c:\vgapl\game1\checkvic.err -p 52 125 3 c:\vgapl\game1 c:\vgapl\checkvic -u -p 52 125 3 c:\vgapl\game1
checkvic -u -e /home/vgapl/game1/checkvic.err -p 52 125 3 /home/vgapl/game1 checkvic -u -p 52 125 3 /home/vgapl/game1
The same as above, but now report the number of controlled planets if a player owns more than 65 (52%). Furthermore the number of unowned planets will be shown.
This manual page describes checkvic version 1.3.
http://phost.de/~vagabond/addons/checkvic/checkvic.zip
Heiko Schlenker (hschlen@gmx.de)
I would like to thank the PDK authors Andrew Sterian, Thomas Voigt, Steffen Pietsch and Stefan Reuther for their wonderful work and Tim Wisseman for writing VGA Planets, of course. Checkvic is linked with the PDK software library and some initialization stuff is derived from the example program ex1.c. You can obtain a copy of the PDK package from http://www.phost.de/.
Thanks to Degi (matthias.degenhardt@gmx.de) who induced me to write this add-on. Oliver Korn (o.korn@tu-bs.de) suggested the -p option. Peter Scholz (peter_scholz@t-online.de) gave me the idea of the -u option.
Last Modified: 23-Nov-2003 <URL:http://phost.de/~vagabond/addons/checkvic/checkvic.html> <URL:mailto:the_vagabund@gmx.de> |