// Continue playing as long as the game is not over
// (a team does not have a score of 15 or more
// with a difference of at least 2)
while (!((buffstate >= 15 || notredame >= 15) && (buffstate - notredame <= 2 || notredame - buffstate >= 2)))
Im not sure if my boolean expression is correct? The program executes, however its not following the (difference of at least 2 for the score)
Comments
Leave a comment