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 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
Get step-by-step solutions from verified subject matter experts
