1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
int main() {
int arr[13][5] = { {1, 3, 1, 1, 2},//aces*
{1, 2, 4, 5, 6},//twos*
{6, 3, 4, 3, 5},//threes*
{3, 1, 1, 4, 4},//fours*
{5, 5, 5, 5, 3},//fives*
{6, 2, 6, 6, 6},//sixes*
{1, 4, 3, 3, 3},//three of a kind*
{3, 3, 3, 3, 3},//four of a kind*
{4, 1, 1, 4, 1},//full house
{1, 2, 5, 3, 4},//lower straight
{2, 3, 5, 4, 1},//higher straight
{4, 4, 4, 4, 4},//yahtzee*
{3, 3, 4, 5, 6} };//chance*
//yahtzeeScoreCalc(arr);
lowerStraight(arr);
return 0;
}
| |