Write the Game class with the required properties to give the following  outputs as shown. # Write your codes here. # Do not change the following lines of code. h = Game("Valorant") print("=================================") h.addDuelist("Raze","Paint shells","SHOWSTOPPER",8) print("=================================") print(h.printAllDuelists()) print("=================================") h.addDuelist("Phoenix","Hot hands","Run it back") print("=================================") print(h.printAllDuelists()) print("=================================") h.addSentinel("Sage","Healing ORB","Resurrection") print("=================================") print(h.printAllSentinels()) print("=================================") h.addSentinel("Killjoy","Turret","Lockdown",7) print("=================================") print(h.printAllSentinels()) OUTPUT: ================================= Agent Raze added ================================= Total Duelists: 1 Duelist 1 Agent Name:Raze Default ability:Paint shells Ultimate: SHOWSTOPPER Required ultimate points: 8 ================================= Agent Phoenix added ================================= Total Duelists: 2 Duelist 1 Agent Name:Raze Default ability:Paint shells Ultimate: SHOWSTOPPER Required ultimate points: 8 Duelist 2 Agent Name:Phoenix Default ability:Hot hands Ultimate: Run it back Required ultimate points: 6 ================================= Agent Sage added ================================= Total Sentinels: 1 Sentinel 1 Agent Name:Sage Default ability:Healing ORB Ultimate: Resurrection Required ultimate points: 8 ================================= Agent Killjoy added ================================= Total Sentinels: 2 Sentinel 1 Agent Name:Sage Default ability:Healing ORB Ultimate: Resurrection Required ultimate points: 8 Sentinel 2 Agent Name:Killjoy Default ability:Turret Ultimate: Lockdown Required ultimate points: 7

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Write the Game class with the required properties to give the following 
outputs as shown.

# Write your codes here.

# Do not change the following lines of code.
h = Game("Valorant")
print("=================================")
h.addDuelist("Raze","Paint shells","SHOWSTOPPER",8)
print("=================================")
print(h.printAllDuelists())
print("=================================")
h.addDuelist("Phoenix","Hot hands","Run it back")
print("=================================")
print(h.printAllDuelists())
print("=================================")
h.addSentinel("Sage","Healing ORB","Resurrection")
print("=================================")
print(h.printAllSentinels())
print("=================================")
h.addSentinel("Killjoy","Turret","Lockdown",7)
print("=================================")
print(h.printAllSentinels())

OUTPUT:
=================================
Agent Raze added
=================================
Total Duelists: 1
Duelist 1
Agent Name:Raze
Default ability:Paint shells
Ultimate: SHOWSTOPPER
Required ultimate points: 8
=================================
Agent Phoenix added
=================================
Total Duelists: 2
Duelist 1
Agent Name:Raze
Default ability:Paint shells
Ultimate: SHOWSTOPPER
Required ultimate points: 8
Duelist 2
Agent Name:Phoenix
Default ability:Hot hands
Ultimate: Run it back
Required ultimate points: 6
=================================
Agent Sage added
=================================
Total Sentinels: 1
Sentinel 1
Agent Name:Sage
Default ability:Healing ORB
Ultimate: Resurrection
Required ultimate points: 8
=================================
Agent Killjoy added
=================================
Total Sentinels: 2
Sentinel 1
Agent Name:Sage
Default ability:Healing ORB
Ultimate: Resurrection
Required ultimate points: 8
Sentinel 2
Agent Name:Killjoy
Default ability:Turret
Ultimate: Lockdown
Required ultimate points: 7

Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY