Loading gamelogic.c +5 −5 Original line number Diff line number Diff line Loading @@ -321,11 +321,11 @@ unsigned int n_of_a_kind(struct die_st *dice, unsigned int num_dice, unsigned in unsigned int n_in_a_row(struct die_st *dice, unsigned int num_dice, unsigned int n) { // testing only: large straight (note: this scores 0 despite being valid!) BUT this does register as a small straight. dice[0].value = 6; dice[1].value = 2; dice[2].value = 5; dice[3].value = 4; dice[4].value = 3; // dice[0].value = 6; // dice[1].value = 2; // dice[2].value = 5; // dice[3].value = 4; // dice[4].value = 3; // testing only: small straight // dice[0].value = 2; Loading Loading
gamelogic.c +5 −5 Original line number Diff line number Diff line Loading @@ -321,11 +321,11 @@ unsigned int n_of_a_kind(struct die_st *dice, unsigned int num_dice, unsigned in unsigned int n_in_a_row(struct die_st *dice, unsigned int num_dice, unsigned int n) { // testing only: large straight (note: this scores 0 despite being valid!) BUT this does register as a small straight. dice[0].value = 6; dice[1].value = 2; dice[2].value = 5; dice[3].value = 4; dice[4].value = 3; // dice[0].value = 6; // dice[1].value = 2; // dice[2].value = 5; // dice[3].value = 4; // dice[4].value = 3; // testing only: small straight // dice[0].value = 2; Loading