TORONTO KIDS COMPUTER CLUB | Summer Camp 2022 Python Homework 13:00 – 08.09.
20953
post-template-default,single,single-post,postid-20953,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-7.6.2,wpb-js-composer js-comp-ver-6.8.0,vc_responsive

Summer Camp 2022 Python Homework 13:00 – 08.09.

09 Aug Summer Camp 2022 Python Homework 13:00 – 08.09.

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

  • it will be the enemy’s turn to strike you back. Enemy can only use gun to fire and cause damage between 50-90.
  • after enemy’s turn, if your hp is lower or equal to 0, use msgbox to display message ‘you lose’, and the while program finish.
No Comments

Sorry, the comment form is closed at this time.