This is a modified version of the sample bot contributed by
Don Dailey.

This bot represents The random Arimaa playing bot which is
defined to have a rating of 0 and all other ratings are
anchored based on their performance against this bot.

A random player for any game should make a uniformly random
selection from the available moves on each turn.

This bot generates all unique positions that can be acheived
from a given position and randomly selects one of them.
If the selected move does not change the board position
it is rejected and another move is selected. Note that it
does not check for repeated positions and could lose by
repition rule. Initially it checked for repeating positions
and selected another move if the position repeated, but
it was later decided that the random bot should not have
this knowledge since it will bias the selected moves.

The setup position can be selected randomly from a file of
predefined setups using the -1 option. Otherwise the setup
is done by starting with this setup 
   Ra1 Rb1 Rc1 Rd1 Re1 Rf1 Rg1 Rh1 Ha2 Db2 Cc2 Md2 Ee2 Cf2 Dg2 Hh2
and swaping two randomly selected pieces (both selections 
could be the same piece) one thousand times.


Command line options:
  -r number  = a seed for the random number generator; default is clock value
  -1 file    = a file containing setup positions for the 1st move
  -d        = debug mode; log messages into the occ.log file

  -np        = no passing; take most steps possible
  -xn        = avoid any trap moves; try up to 3 times
  -xs        = avoid self trap moves; try up to 3 times
  -ar        = try to pick a rabbit advance move; try up to 3 times

These options are not implemented yet
  -xo        = try for opponent trap moves 
  -pr        = try to push back opponent rabbits 
  -am        = try to advance major pieces (EMH) 
  -ps        = try to push back stronger opponent pieces (MHDC) 
  -cf number = chance of finding above type move [0-100]



Format of setup move file:

If the -1 option is given then the bot tries to 
randomly pick a setup from the input file.
The format of the setup should be from golds point of view.
It will be converted to silvers point of view as needed.

For example, it should be entered like this:
Ra1 Rb1 Rc1 Rd1 Re1 Rf1 Rg1 Rh1 Ha2 Db2 Cc2 Md2 Ee2 Cf2 Dg2 Hh2

If needed for silver (side=='b') it will be converted to this:
rh8 rg8 rf8 re8 rd8 rc8 rb8 ra8 hh7 dg7 cf7 ee7 md7 cc7 db7 ha7


