CS 1030 Spring 2008,    Homework 12       Due:  Thursday April 24

A paper copy of your program should be turned in at the beginning of class.
Your work should be dropped off electronically in the Lamont folders by 10:00 AM on the due date.
Late Deadline:  turn in by Midnight Friday April 25 for a 10% penalty.  (Paper on my office door.)
For further details on how to hand in assignments, see these Submission Guidelines.
Create two Risk players as described below.   As in the lab, your players will be subclasses of
the Player class.  You will hand in either a .h file with a complete class definition or, if you prefer,
a .h and a .cpp file.

Player One  (The cautious guy)
      Allocation
              Strengthen your own weakest countries in an attempt to keep them.
              (If some of your countries have only 1 army and others have 2, add new armies
                to the ones that have only 1.)
      Attack
              For every one of your border countries,  if it can beat a neighboring enemy,
              it should do so, but each border country attacks just once.

Player Two (The wild guy)
       Allocation
              Put all your armies (your horde) on your strongest border country, i.e. the border
              country that currently has the most armies.
       Attack
              Take your horde and use it to attack as long as you can win.  This means your
              horde could go off on a long series of conquests, stopping only when it either
              is outnumbered by the enemy or is no longer next to any enemy country.

Notice that neither player is aware of the importance of continents.  In the next (and final)
homework, you will have a chance to add in this important consideration.

Put these two players together in a tournament and see how they do.
Let each one have a chance to go first.  That can be a big advantage.