Question: Psuedocode The Dragon Pseudocode import the random module get and set the seed in the random module set both player and dragon health while either

Psuedocode\ The Dragon Pseudocode\ import the random module\ get and set the seed in the random module\ set both player and dragon health\ while either the player or the dragon have more than 0 health:\ get player action\ if player attacks:\ print attack message\ get random number between 1 and 6\ if random number is 1 :\ display attack missed message\ else if random number is 6 :\ display weak point message

Psuedocode\ The Dragon Pseudocode\ import the random module\ get and set the

Psuedocode The Dragon Pseudocode - import the random module get and set the seed in the random module - set both player and dragon health - while either the player or the dragon have more than 0 health: - get player action if player attacks: - print attack message - get random number between 1 and 6 - if random number is 1 : - display attack missed message - else if random number is 6 : - display weak point message

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!