/* * craps.h * * Created on: Sep 25, 2010 * Author: Michael J. Fischer * for use in Yale course CPSC 427a, Fall 2010 */ #pragma once #include "dice.hpp" // Craps game class Craps { private: Dice* dice_; // dice to be used int numRolls_; // cumulative number of rolls int numWins_; // cumulative number of winds public: Craps(Dice* dice) { dice_ = dice; numRolls_ = 0; numWins_ = 0; } void playRound(); int numWins() const { return numWins_; } int numRolls() const { return numRolls_; } };