Use Notepad++ to create a js file 1. Create variables to store adventurer names, number of adventurers killed, number of survivors and the leader name. 2. The survivors is equal to the number of adventurers - number killed 3. Display "Welcome to The God Among Us" 4. Display the introduction as: A group of adventurers began their search for the mystical god said to live among us. In charge of the squad was < display leader name here> who was famous for his past exploits. Along the way, the group of comrades were attacked by the god's loyal followers. The adventurers fought with bravado and strength under the tutelage of the followers were defeated but they still suffered great losses. After a headcount of the remaining squad, were found to be dead which left only remaining survivors. -insert the variable values in the story as shown above by the text in between <>'s. 5. Display the current game statistics *Everything should work from the command line when finished*
Use Notepad++ to create a js file
1. Create variables to store adventurer names, number of adventurers killed, number of survivors and the leader name.
2. The survivors is equal to the number of adventurers - number killed
3. Display "Welcome to The God Among Us"
4. Display the introduction as: A group of adventurers began their search for the mystical god said to live among us. In charge of the squad was < display leader name here> who was famous for his past exploits. Along the way, the group of comrades were attacked by the god's loyal followers. The adventurers fought with bravado and strength under the tutelage of <display leader name here> the followers were defeated but they still suffered great losses. After a headcount of the remaining squad, <display number killed> were found to be dead which left only <display number of survivors> remaining survivors.
-insert the variable values in the story as shown above by the text in between <>'s.
5. Display the current game statistics
*Everything should work from the command line when finished*
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 3 images