| 34 | |
| 35 | # Result function which is our dice chooser function |
| 36 | def result(): |
| 37 | # user_dice_chooser No idea how this got in here, thanks EroMonsterSanji. |
| 38 | |
| 39 | print("\r\nGreat! Begin by choosing a die! [6] [8] [12]?\r\n") |
| 40 | user_dice_chooser = input(">") |
| 41 | |
| 42 | user_dice_chooser = int(user_dice_chooser) |
| 43 | |
| 44 | # Below is the references to our dice functions (Below), when the user chooses a dice. |
| 45 | if user_dice_chooser == 6: |
| 46 | dice6() |
| 47 | |
| 48 | elif user_dice_chooser == 8: |
| 49 | dice8() |
| 50 | |
| 51 | elif user_dice_chooser == 12: |
| 52 | dice12() |
| 53 | |
| 54 | # If the user doesn't choose an applicable option |
| 55 | else: |
| 56 | print("\r\nPlease choose one of the applicable options!\r\n") |
| 57 | result() |
| 58 | |
| 59 | |
| 60 | # Below are our dice functions. |