Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write handle_user_command() function #6

Open
adigulalkari opened this issue Sep 22, 2023 · 0 comments
Open

Write handle_user_command() function #6

adigulalkari opened this issue Sep 22, 2023 · 0 comments
Labels

Comments

@adigulalkari
Copy link
Member

Call the processed_user_input() func,
check if the key words : quit, look, take, inventory, go, talk, use; exists in the processed_tokens
return appropriate functions for each of those key words.
If none of the key words exists in the tokens, return "I don't understand that command."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant