| UP (discussion topics) | TOP (Cherryh-homepage) |

message 0539



Parts of this message can be found in the following threads:
>Subject: cherryhlist: boardgame...
>Date: Thu, 16 Sep 93 9:18:46 CDT
>From: goldman@orac.cray.com (Goldman of Chaos -- postmaster CRI-US)

I hope that I'm not boring you with all of this game talk.

Here is a datafile I made from a posting about the "Company War"
boardgame made back in July of this year:

Earth Station|0,0,0
Pell|10,4,-1
Viking Station|7,7,-2
Mariner Station|14,2,-1
Russell Station|13,-5,-4
Pan Paris Station|15,-14,69
Paradise Station|17,-25,27
Wyatt's Star|23,-15,-2
Esperance Station|19,12,8
Cyteen Station|19,-1,1
Voyager Station|21,4,-7
Fargone Station|24,4,2
Beta Station|-2,-1,-3
Alpha Base|0,-6,1
Glory|2,9,-4
Bryant's|5,-6,7
Galileo Station|10,-4,-3
Olympus Station|8,0,8
Eldorado|8,3,-3

Here is a nawk program to change the data into really cool output, one
of those distance between 2 points like you see on maps:

BEGIN {
  FS = "|";
}
 
{
  name[NR] = $1;
  split($2, xyz, ",");
  x[NR] = xyz[1];
  y[NR] = xyz[2];
  z[NR] = xyz[3];
}
 
END {
  for(j=1; j<=NR; j++) {
    printf("     %2d", j);
  }
  printf("\n\n");
  for(i=1; i<=NR; i++) {
    printf("%2d  ",i);
    for(j=1; j<=i; j++) {
      printf("%5.1f  ", sqrt((x[i]-x[j])^2 + (y[i]-y[j])^2
+(z[i]-z[j])^2));
    }
    printf("\n");
  }
  printf("\n\n");
  for(i=1; i<=NR; i++) {
    printf("%2d = %-17s   %4d %4d %4d\n", i, name[i], x[i], y[i],
z[i]);
  }
}

The program was written by Dana Dawson here at CRI.  Call the
program with 'nawk -f command.awk datafile'.  You will need to use
nawk, not awk.  I don't know if this will work with gawk.  I really
want more information about where to put null points.

Then I got bored last night.  Here are some sample production values

f = food
	1F = s, 2m, m+a, 2b, b+a
	2F = 1F+l, 1F+a
	4F = 2F+l, 2F+a
s = spares & machines
	1S = f+m, 2m, m+a, 2r, r+m, r+a
	2S = 1S+l, 1S+a
	4S = 2S+l, 2S+a
l = luxuries
	1L = f+m, f+b, r+a, r+b
	2L = 1L+f, 1L+a
	4L = 2L+f, 2L+a
m = raw materials
	1M = f+r, a+r, s
	2M = 1M+l, 1M+a
	4M = 2M+l, 2M+a
r = recycling parts
	1R = s, l, 2m, m+f
	2R = 1R+l, 1R+a
	4R = 2R+l, 2R+a
b = biomass
	1B = f, 2l, l+r, a
	2B = 1B+l, 1B+a
	4B = 2B+l, 2B+a
a = azi
	1A = f+s+m, f+s+2r, 2b+s+m, 2b+s+2r

the lower case is for a single unit of some item, upper case is
shorthand for the output.  For example, you can get 1 unit of food out
when you use up one unit of spares & machines, or if you use up two
units of raw materials.  You will get two units of food if you use up
one unit of luxuries in addition to one unit of spares & machines.

Additionally, note that azi can not be made in greater quanities than
one.  Everything else can be made in quanities of one, two or four.

Strange note from above 1F = 2b, and 1B = a, so 1 food = 2 azi...
yum, yum.

Here are some proposed production values for the various stations.
Note that the stations are setup so that they will all be able to
survive.

    			    production
    			     per turn
    			f  s  l  m  r  b  a

Earth Station		-  -  1  -  -  4  -
Pell			-  -  1  1  -  3  -
Viking Station		-  -  -  3  -  -  -
Mariner Station		-  -  -  3  -  -  -
Russell Station		-  -  -  1  1  -  -
Pan Paris Station	-  -  -  2  2  -  -
Paradise Station	-  -  -  2  3  -  -
Wyatt's Star		-  -  -  2  1  -  -
Esperance Station	-  -  -  1  3  -  -
Cyteen Station		-  -  1  1  -  2  1
Voyager Station		-  -  -  3  -  -  -
Fargone Station		-  1  -  1  -  -  -
Beta Station		-  -  -  3  -  -  -
Alpha Base		-  -  -  2  -  -  -
Glory			-  -  -  1  -  -  -
Bryant's		-  -  -  2  -  -  -
Galileo Station		-  -  -  1  -  -  -
Olympus Station		-  -  -  1  -  -  -
Eldorado		-  -  1  1  -  -  -


Other info:  Stations all start with 1 turn's worth of production and
1D4 units of food.

I'm thinking that cards for each station would be a neat idea.
Much too hard to do in ascii.  I'll do up a postscript card example.

end game notes for now.

Matt

-- 
Matthew Goldman  E-mail: goldman@orac.cray.com Work: (612) 683-3061

My day today? Nothing major, just Xenon base gone, Scorpio gone, 
Tarrant dead, Tarrant alive and then I found out Blake sold us out.

Copyright by the author of the original message.
WWW formatting by Andreas Wandelt (look here for email address) .