// Die.cc Implements Die methods #include #include #include "Die.h" Die::Die() { srand(int(time(NULL))); roll(); } void Die::roll() { face_up = rand()%6+1; } int Die::get_face() { return face_up; }