qwixx.h 748 B

1234567891011121314151617181920212223
  1. #ifndef QWIXX
  2. #define QWIXX
  3. enum{NOT_STARTED, STARTED, FINISHED, PLAYING};
  4. enum{LEFT_TO_RIGHT, RIGHT_TO_LEFT};
  5. enum{penalty, everyone, active, selectionSize};
  6. // to add a color in the future, place it before white1 below
  7. enum {red = 9, yellow = 19, green = 0, blue = 55, white1 = 4, white2, colors};
  8. // checkboxes represents the count of the sample space of the sum of rolling 2 dice
  9. #define CHECKBOXES 11
  10. #define NOTSET -1
  11. #define CHECKBOX_COUNT (CHECKBOXES*white1)
  12. #define PENALTY_VALUE 5
  13. #define MAX_PENALTY 4
  14. #define MAX_LOCKOUT 2
  15. #define DICE_SUM_MAX 12
  16. #define DICE_SUM_MIN 2
  17. #define LOCKOUT_QUALIFIER 5
  18. struct Move
  19. {
  20. int index;
  21. int color;
  22. };
  23. #endif