TORONTO KIDS COMPUTER CLUB | Wednesday 17:00 Python Practice – 22.10.26.
21322
post-template-default,single,single-post,postid-21322,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

Wednesday 17:00 Python Practice – 22.10.26.

31 Oct Wednesday 17:00 Python Practice – 22.10.26.

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.