You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Your character, " << Player.name << ", defeated leagues of enemies and claimed the treasure!\n" <<
73
-
"They were level " << Player.level << ", with " << Player.exp << " exp points and a remaining health of " << Player.cur_h << " after defeating all of the enemies!\n" <<
74
-
"\nI owe you my thanks for playing my game!\no7\n";
75
-
} else {
76
-
logfile << "Yikes..\n" <<
77
-
"Your character, " << Player.name << ", entered the dungeon looking for some enemies to kill and some treasure to find.\n" <<
78
-
"Unfortunately, the cave dwellers had other plans.\n" <<
"They were level " << Player.level << ", with " << Player.exp << " exp points.\n" <<
81
-
"\nI owe you my thanks for playing my game!\no7\n";
79
+
case Completed:
80
+
logfile << "Congratulations!\n" <<
81
+
"Your character, " << Player.name << ", defeated leagues of enemies and claimed the treasure!\n" <<
82
+
"They were level " << Player.level << ", with " << Player.exp << " exp points and a remaining health of " << Player.cur_h << " after defeating all of the enemies!\n" <<
83
+
"\nI owe you my thanks for playing my game!\no7\n";
84
+
break;
85
+
case Died:
86
+
logfile << "Yikes..\n" <<
87
+
"Your character, " << Player.name << ", entered the dungeon looking for some enemies to kill and some treasure to find.\n" <<
88
+
"Unfortunately, the cave dwellers had other plans.\n" <<
0 commit comments