I havn't programmed in a while and I forgot how to declare a bool and how to end a program when the bool becomes false. For example:

bool goes here

int main()
{
say if the player's health becomes -= 0 end the program
}