Re: Do X for n days

morrow@remus.rutgers.edu
Sun, 19 Jul 92 15:40:33 EDT

>Most of the serious players rely on postprocessing to understand
>their turn reports. Reading a report for even a few units without
>'grep' can be very tedious. This is bad; there are a couple of proposals
>to make the turn report better (but that's a different thread).

If the orders go 'unit: day:' instead of 'day: unit:' (e.g. '856: 10:'
instead of '10: 856:', you could toss the orders through a simple sort
and get output grouped by unit/day. Another tactic I use at work to
differentiate error message output on programs is to use the special
characters such as '***', '###", '@@@', ')))', '>>>', etc. This way,
you get stuff like:

856: 10: >>> move 324
856: 10: [@] Will spend 7 days traveling to North Atnos [324].
1933: 12: >>> study 102 1
1933: 12: [%] Study combat at a cost of 2 gold per day for one day.
1933: 13: (%) Finished studying combat.
1933: 14: >>> work 7
1933: 14: [=] Will work at unskilled labor for seven days.
856: 16: (@) Arrival at North Atnos [324].

This way you can look for a single character indicating a type of command.
Just an idea. Note if you sort this message, you will get a clump ordered
by unit and then by day...

John Morrow - Varian [856]


Main Index  |  Olympia  |  Arena  |  PBM FAQ  |  Links