-
- Create function roll(n) that will roll a dice with n sides.
- if the value rolled plus attribute is bigger or equal the enemy's AC (Armor Class), the attach is successful
- When the attacks hits the…
-
Add a test for the `roll` function:
- You can call the function below it's definition with the syntax `num = roll()`. This will set `num` with a random number between 1 and 6 inclusive
- This cal…
-
Thank you for checking my code @areviksol
You mean that it need to be repeated until it become 7, like this
import random
def roll_dice():
return random.randint(1, 6) + random.…
-
**Core Concept/Theory**
A clear and concise description of what the concept is. Ex. It would be cool if [...]
We could add six of the "Rigged" Dice, which can be automatically used when inside of …
-
### How can the problem be recreated?
On the top Left bar hit "Game" and go to "Roll Dice". when you hit OK it just disappears and doesnt do anything.
### What is an expected fix?
It should…
-
This is a continuation of #2, that I am splitting off into its own issue.
For this issue, I'd like to investigate the following:
- Generating Javascript files which contain arrays of 46,656 wo…
dmuth updated
5 years ago
-
### Describe the bug
I notice that pushing is not quite correct in the T2k4e implementation as well, since you can (technically) reroll base dice with successes and this is not allowed in the Foundr…
-
Description:
Create a simple dice game where two players roll dice on page reload. The game should determine the winner (Player 1, Player 2, or a draw) and display the result. This involves setting u…
-
In some cases zero is desirable in roll results.
I took a quick look at the code, and it seems that zero is never returned as a possible outcome (except for `!roll d0` or `!roll 3d0` where `0` is t…
-
Would be awesome if a secret roll (for an invisible/hidden token) produced no sound and "GM privately rolled some dice" message in chat. Sometimes (frequently?) you don't even want players to know tha…