Added several commands

This commit is contained in:
Timothy O'Barr
2026-08-21 08:02:22 -05:00
parent 9b72d1588e
commit 66fd2b0951
7 changed files with 101 additions and 47 deletions
+6
View File
@@ -64,6 +64,12 @@ int CommandParser::Parse() {
nouns = Noun(c);
for (const auto &verb: verbs) {
if (!commands[verb]) {
printf("Sorry kid, can't understand ya! \n");
break;
}
commands[verb]("");
}
return 0;