+ 1

Need help in improving some code for a two player game

as the title suggested, I'm making a turn based two player game, in which each player will have a random attack stat, which will be boosted depending on which weapon they pick(in this case sword or bow). I've got the random.randint thing down, but I'm having trouble making a method that will add the random integer and the strength of the weapon, and all I get is the random integer. can anyone help? https://code.sololearn.com/c9evk3TZxhzK/?ref=app

17th Jul 2017, 4:30 PM
X-1
X-1 - avatar
1 Odpowiedź
0
where is the adding problem located?
1st Aug 2017, 1:33 PM
vortetty
vortetty - avatar