16 Nov Friday 17:30 Python Practice – 22.11.11.
Posted at 21:48h in Friday 16:15 Homework 0 Comments
Continue modify the war-robot program we made in the class, so that:
- if enemy’s hp is lower or equal to 0, use msgbox to display message ‘you win’, and the while program finish.
- 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.
Sorry, the comment form is closed at this time.