|
@@ -35,9 +35,9 @@
|
|
// rule for lockout to populate a locked out row so score function can check for locked rows
|
|
// rule for lockout to populate a locked out row so score function can check for locked rows
|
|
void addX(int player, int color, int index);
|
|
void addX(int player, int color, int index);
|
|
// rule for being able to lockout a row, check for last box marked off and set condition where the next box has to be higher than that previous box check
|
|
// rule for being able to lockout a row, check for last box marked off and set condition where the next box has to be higher than that previous box check
|
|
- bool Game::lockOutRule(int player, Turn turn);
|
|
|
|
- void leftToRightRule(int player, int color, int index);
|
|
|
|
- bool Game::isMoveRepresentedInDie(int player, Turn turn);
|
|
|
|
|
|
+ bool lockOutRule(int player, Turn turn);
|
|
|
|
+ bool leftToRightRule(int player, Turn turn);
|
|
|
|
+ bool isMoveRepresentedInDie(int player, Turn turn);
|
|
/* TODO: generate a set of all possible moves a player can take given a: ScoreSheet & diceRoll
|
|
/* TODO: generate a set of all possible moves a player can take given a: ScoreSheet & diceRoll
|
|
* 1. one good reason to do this would be to check if a player can make a given move
|
|
* 1. one good reason to do this would be to check if a player can make a given move
|
|
* 2. if you give this set of moves to an AI, it could pick a move
|
|
* 2. if you give this set of moves to an AI, it could pick a move
|