int main()
{
int enemyHealth = 10;
int attack = 1;
cout << "hit one to attack the enemy!\n";
while (enemyHealth > 0){
int attack1;
cin >> attack1;
switch (attack1) {
case 1:
enemyHealth --;
cout << "the enemy's health is now " << enemyHealth << endl;
break;
}
}
cout << "\n\n ------------------------------- \n\n\n you killed that mother f****r!";
}