Using Notepad++ and no HTML create a new file called godamongus30.he 1. We originally created multiple variables to store our addditional adventurers that our leader travels with. Modify the adventurers variable to hold an array. Initialize the adventurers with six made up characters for your storyline. They can all be string names for now. Go back and modify your games introduction to display all the names of the adventures in the storyline. Use the array values for this, not hardcoded strings. 2. Create an array to store the inventory our leader will have available to them. Initialize it with atleast one item. The leader should only be able to carry a maximum of 5 items. 3. Last week, we created four options in the storyline for the user to choose from. This week modify atleast 2 of those options to give the user an additional item. The display should give the user the following choices: a. Display Inventory( This option should display all the items in the users inventory) b. Pick up Item If they do not have more than 5 already. If the leader has more than 5 items, ask them if they would like to trade for the new item. If so, switch the items.
Using Notepad++ and no HTML
create a new file called godamongus30.he
1. We originally created multiple variables to store our addditional adventurers that our leader travels with. Modify the adventurers variable to hold an array. Initialize the adventurers with six made up characters for your storyline. They can all be string names for now. Go back and modify your games introduction to display all the names of the adventures in the storyline. Use the array values for this, not hardcoded strings.
2. Create an array to store the inventory our leader will have available to them. Initialize it with atleast one item. The leader should only be able to carry a maximum of 5 items.
3. Last week, we created four options in the storyline for the user to choose from. This week modify atleast 2 of those options to give the user an additional item. The display should give the user the following choices:
a. Display Inventory( This option should display all the items in the users inventory)
b. Pick up Item
If they do not have more than 5 already. If the leader has more than 5 items, ask them if they would like to trade for the new item. If so, switch the items.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 7 images