switch (spinResult) { case SpinnerT::ONE_CHERRY: if (player.cherries <= MAX_CHERRIES-1) { player.cherries += 1; } else { cout << "Sorry, you can not make that move"; } break; case SpinnerT::TWO_CHERRY: if (player.cherries <= MAX_CHERRIES-2) { player.cherries += 2; } else { cout << "Sorry, you can not make that move"; } break; case SpinnerT::THREE_CHERRY: if (player.cherries <= MAX_CHERRIES-3) { player.cherries += 3; } else { cout << "Sorry, you can not make that move"; } break; case SpinnerT::FOUR_CHERRY: if (player.cherries <= MAX_CHERRIES-4) { player.cherries += 4; } else { cout << "Sorry, you can not make that move"; } }