Need to create a Python 2.7 Dice roller which determines a characters stats -
i need create short programme allows user have stats created using dice rolling method. has create 2 different stats, strength attribute, , skill atribute. these created has 12 sided dice rolled, , 4 sided dice rolled. value of 12 sided dice divided 4 sided dice strength attribute, repeated skill attribute. that's all, i'm not sure go , help thanked much.
i take @ random module in stdlib here
you can can stuff like:
import random random.randint(1,12) # produces random number between 1-12
that should going.
python
No comments:
Post a Comment