private void clearLines() { int multiplier = 1; lineClears = rowManager.clearLines(); switch (lineClears) { case 0: break; case 1: if (hasSpun && isBackToBack) { multiplier = 1200; hasSpun = false; isBackToBack = true; } else if (hasSpun) { multiplier = 800; isBackToBack = true; } else { multiplier = 100; isBackToBack = false; } break; case 2: if (hasSpun && isBackToBack) { multiplier = 1800; hasSpun = false; isBackToBack = true; } else if (hasSpun) { multiplier = 1200; isBackToBack = true; } else { multiplier = 300; isBackToBack = false; } break; case 3: if (hasSpun && isBackToBack) { multiplier = 2400; hasSpun = false; isBackToBack = true; } else if (hasSpun) { multiplier = 1600; isBackToBack = true; } else { multiplier = 500; isBackToBack = false; } break; case 4: if (isBackToBack) { multiplier = 1200; hasSpun = false; } else { multiplier = 800; } isBackToBack = true; break; } score += (scoreLevel * multiplier); }