dice.h 411 B

12345678910111213141516171819
  1. #ifndef DICE
  2. #define DICE
  3. #include <vector>
  4. #include <iostream>
  5. #include <time.h>
  6. #include "qwixx.h"
  7. class Dice
  8. {
  9. public:
  10. std::vector<int> dice;
  11. Dice();
  12. int roll();
  13. void print();
  14. // add entropy to the dice rolls
  15. void diceTropy(int entropy);
  16. private:
  17. int previousSeed;
  18. };
  19. #endif