Order checker/turn parser

A & C Bass (bass@open.org)
Fri, 5 Sep 1997 08:10:16 -0700 (PDT)

Has anybody out there attempted to build an intelligent order checker,
or written anything attempting to parse a turn report? Several times
now my plans were upset because of simple typing mistakes or obvious
misuse of a command (passing 1 parameter instead of 2, reversing the
order of the parameters, etc).

I was hoping to create a turn checker that would compare the current moves
with last turn's report, so errors like "use 987" for a noble without that
skill would be caught, or "move ab33" for a noble sitting in province ba32.

My own attempts a parsing the turn report are going slower than I had hoped,
and if figured why reinvent the wheel when someone else has probably already
created a motorcycle?

I am currently using Perl for this, but I'd be interested in anything that
others have to offer.

Thanks,

-Andy

Main Index  |  Olympia  |  Arena  |  PBM FAQ  |  Links