TORONTO KIDS COMPUTER CLUB | Thursday 18:30 Python Practice 22.10.20.
21294
post-template-default,single,single-post,postid-21294,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

Thursday 18:30 Python Practice 22.10.20.

23 Oct Thursday 18:30 Python Practice 22.10.20.

Question:
Continue modify the program we made in the class:

  • Set fighter’s hp as 100
  • if the fighter received damage from enemy’s bullet, it will lose 10 hp.
  • if the fighter received damage from boss’ bullet, it will lose 20 hp.
  • please draw hp bar at the bottom of the screen, with max width of 300px, height of 5px
  • the color of the hp bar will change from green to red.
No Comments

Sorry, the comment form is closed at this time.