This program demonstrates two players fighting with each other. The winner is determined by random, which has 50% to win each fight. The winner will receive the difference between the power of player and the loser. On the other hand, the loser will decrease the difference between the power of player and the loser.
Here is the program:
http://pastebin.ca/726808
http://pastebin.ca/726810
Subscribe to:
Post Comments (Atom)
1 comment:
Well done and thank you!
Post a Comment