int main
{
if(giant_eagle_available())
{
fly_to_mordor();
drop_ring();
return credits();
}
else
{
while(arrived_to_mordor()==false)
{
Entity::Frodo.isVisible = !Entity::Frodo.isVisible;
Entity::Frodo.Kindness-=1;
Entity::Sam.Patience-=1;
}
Entity::Frodo.NumberOfFingers-=1;
drop_ring();
return credits();
}
}
{
if(giant_eagle_available())
{
fly_to_mordor();
drop_ring();
return credits();
}
else
{
while(arrived_to_mordor()==false)
{
Entity::Frodo.isVisible = !Entity::Frodo.isVisible;
Entity::Frodo.Kindness-=1;
Entity::Sam.Patience-=1;
}
Entity::Frodo.NumberOfFingers-=1;
drop_ring();
return credits();
}
}