23 Oct Thursday 18:30 Python Practice 22.10.20.
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.