// Yahtzee.cc // An OO implementation of the popular dice game. // Stuart Clarke 12/11/99 #include #include "Game.h" int main() { Game *Yahtzee; char response; do { Yahtzee = new Game(); Yahtzee->play(); do { cout << endl << endl << "Another game? (y/n): "; cin >> response; } while (response != 'y' && response != 'n'); delete Yahtzee; } while (response=='y'); }