@@ -1,9 +1,9 @@
#include "dice.h"
Dice::Dice(){
srand(time(NULL));
+ roll();
}
int Dice::roll() {
- std::vector<int> output;
// generate 6 random numbers to assign to each die
for (int i = 0; i<colors; i++) {
// store numbers generated from rand into output