/*
   A GameDie object represents a single game die.

   It has a set number of sides, each numbered from
   1 to the number of sides, and it can be rolled, 
   which results in a number between 1 and the number of
   sides.
   
   adapted from Astrachan's "A Computer Science Tapestry"
   2nd edition, pp. 214, 217

   by: Owen Astrachan
   adapted by: Sharon Tuttle
   last modified: 2015-08-26
*/

class GameDie
{
    public:
        GameDie(int desiredNumSides);
        int roll();
        int getNumSides() const;
        int getNumRolls() const;

    private:
        int numRolls;
        int numSides;
};