0

I am developing a text based GUI battle game in python 3.0 with 3 player units and 3 AI units. All three player units will get assigned to each role : Warrior and Tanker each with different atk points and dmg points. The AI roles and attacks will also be assigned randomly As for now, I have created Warrior and Tanker but I am struggling with the main function where the player has to choose target and attack. I have created and warrior and tanker class each with their own attributes .The player needs to take turns with the AI and whichever side that lost two players will lose and it will be game over. Please hekp.

jmarkmurphy
  • 11,030
  • 31
  • 59
  • 1
    This is a really broad question, and it's nearly impossible to provide help since not a single bit of relevant code is shared. So it's better to focus your question on a single functionality and provide the code part you're having a problem. – Harun Yilmaz Aug 22 '22 at 06:48
  • Can you edit the question and [describe the problem](https://meta.stackoverflow.com/questions/254393/what-exactly-is-a-recommendation-question) and share the code of what has been done so far to solve it. – JustAG33K Aug 22 '22 at 06:51
  • this question needs some code. – D.L Aug 22 '22 at 06:53

0 Answers0