TORONTO KIDS COMPUTER CLUB | Aurora Saturday 16:30 Python Homework 21.05.22.
19509
post-template-default,single,single-post,postid-19509,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Aurora Saturday 16:30 Python Homework 21.05.22.

26 May Aurora Saturday 16:30 Python Homework 21.05.22.

Question:
Continue modify the program we made in the class, so that:

  • if there’s head shot and you hit the target, please display the head shot message
  • if you chose the gun, the enemy’s hp will decrease and message box will tell how much damage caused by which of your weapon and how many enemy’s hp left.
  • if you chose the missile and did not miss the target, the enemy’s hp will decrease and message box will tell how much damage caused by which of your weapon and how many enemy’s hp left.
  • if you chose the missile but miss the target, the message box will tell you missed the target
  • if enemy’s hp is lower or equal to zero, the message box will show you won and exit the loop
No Comments

Sorry, the comment form is closed at this time.