Clash of Shadows Clash of Shadows Clash of Shadows Clash of Shadows
تفاصيل العمل

Design a program to simulate a fight between Batman and the Joker using OOP principles The fight alternates between Batman and the Joker, with each character taking turns to attack :After each attack, print the following The character performing the attack The type of shield or gadget used The remaining health of the opponent Ending the Fight: The fight ends when either Batman or the Joker’s health drops to zero or below

شارك
بطاقة العمل
تاريخ النشر
منذ 4 ساعات
المشاهدات
3
المستقل
طلب عمل مماثل
شارك
مركز المساعدة