#ifndef __DICEROLL_HPP__ #define __DICEROLL_HPP__ #include namespace cs427_527 { class DiceRoll { public: DiceRoll(); bool allSame() const; int total() const; int count(int) const; void reroll(); static const int NUM_SIDES = 6; static const int NUM_DICE = 2; private: int counts[NUM_SIDES]; }; std::ostream& operator<<(std::ostream& os, const DiceRoll& roll); } #endif