Question: Write code to make a boxing game. The game should be made with Python on replit. The game should put you the player against an
Write code to make a boxing game. The game should be made with Python on replit. The game should put you the player against an Al The game should allow for different moves that both the player and Al take turns choosing from: dodge left,dodge right, block, and punch. If you dodge a punch you should be able to get a free counter punch next move and it should notify the player that the punch was dodged this should work for both the player and Al If you block a punch then the game should notify the player that they blocked it but continue with the Al having the next turn, the opposite should also be true. Both the and player should have hearts. If the or player gets punched then it should result in heart being deducted and should display how much hearts either the player or Al has left when they get punched. The game should end when either the player or Al reaches hearts, and the game should display whether the player won or lost.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
