Inimidei / Beeholder

0 stars 0 forks source link

Implement dice roll #1

Open nixorn opened 4 years ago

nixorn commented 4 years ago

First thing we need is single function with 2 arguments

  1. count of dice throws
  2. count of dice faces

Example call

>>> roll(2, 6) # 2d6
10
nixorn commented 4 years ago

About functions https://younglinux.info/python/function.php Random lib https://docs.python.org/3/library/random.html#module-random (which we need to generate random numbers in some range).