Write your question here.
That's my ver yvery simple game. I wanna add some things, but i dont know how.
1.How to add a chance to do damage ? (for example 80%)
2.How not to allow the players to hit twice ?
3.How to make HP of the players to be on the top and just the number to change like that: 0HP 20HP
...
...
...
Player 1 won !
1. You can create another random int ranging 1 to 10, then multiply it to 10. And do something with the dmg variable
2. I dont get it
3. Maybe output, clearscreen, output, clearscreen after taking damage