Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Text Adventure Game An adventure in making adventure games. To test your current solution, run the 'test_my_solution.py file. Refer to the instructions on Canvas for
Text Adventure Game An adventure in making adventure games. To test your current solution, run the 'test_my_solution.py file. Refer to the instructions on Canvas for more information "I have neither given nor received help on this assignment." author:YOUR NAME HERE version 8 # 2) print-introduction: Print a friendly welcome message for your game # 3) get-initial_state: Create the starting player state dictionary # 4) print-current-state: Print some text describing the current game world 5) get-options: Return a list of commands available to the player right now 6) print-options: Print out the list of commands available 7) get-user-input: Repeatedly prompt the user to choose a valid command # # 8) process. command: Change the player state dictionary based on the command # 9) print-game ending: Print a victory, lose, or quit message at the end command Paths to give to the unit tester WIN_PATH LOSE. PATH Text Adventure Game An adventure in making adventure games. To test your current solution, run the 'test_my_solution.py file. Refer to the instructions on Canvas for more information "I have neither given nor received help on this assignment." author:YOUR NAME HERE version 8 # 2) print-introduction: Print a friendly welcome message for your game # 3) get-initial_state: Create the starting player state dictionary # 4) print-current-state: Print some text describing the current game world 5) get-options: Return a list of commands available to the player right now 6) print-options: Print out the list of commands available 7) get-user-input: Repeatedly prompt the user to choose a valid command # # 8) process. command: Change the player state dictionary based on the command # 9) print-game ending: Print a victory, lose, or quit message at the end command Paths to give to the unit tester WIN_PATH LOSE. PATH
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started