Roll dice (eg Asphodice) and show outcomes https://rpg.bertieb.org/dice-roller/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

32 lines
1.5 KiB

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Asphodel Dice Roller</title>
  7. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
  8. <link rel="stylesheet" href="css/asphotheme.css">
  9. <link rel="stylesheet" href="css/dashboard.css">
  10. <script src="https://code.jquery.com/jquery-3.5.1.min.js" type="text/javascript"></script>
  11. <script src="bundle.js" type="text/javascript"></script>
  12. </head>
  13. <body>
  14. <div class="container">
  15. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js" integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script>
  16. <h1 class="mt-3">Asphodice Roller</h1>
  17. <p>This lets you roll an arbitrary number of Asphodice. Results will be shown below. Please be patient as the rolls take place in the browser.</p>
  18. <form>
  19. <label for="numRolls">Number of Rolls</label><br />
  20. <div class="input-group mb-3">
  21. <span class="input-group-text" id="basic-addon-3">Roll</span>
  22. <input type="number" class="form-control" id="numRolls" placeholder="100000" aria-describedby="basic-addon3">
  23. <span class="input-group-text">times</span>
  24. </div>
  25. </form>
  26. <button class="btn btn-primary" id="mainRoll">Roll!</button>
  27. </div>
  28. <div class="container" id="results"></div>
  29. </body>
  30. </html>