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.
 
 
 
 

35 lines
1.6 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="rollstats.js" type="text/javascript"></script>
  11. </head>
  12. <body>
  13. <header class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
  14. <a class="navbar-brand col-md-3 col-lg-2 me-0 px-3" href="#">Dice Roller</a>
  15. </header>
  16. <div class="container">
  17. <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>
  18. <h1>Asphodice Roller</h1>
  19. <p>This lets you roll an arbitrary number of Asphodice!</p>
  20. <form>
  21. <label for="numRolls">Number of Rolls</label><br />
  22. <div class="input-group mb-3">
  23. <span class="input-group-text" id="basic-addon-3">Roll</span>
  24. <input type="number" class="form-control" id="numRolls" placeholder="100000" aria-describedby="basic-addon3">
  25. <span class="input-group-text">times</span>
  26. </div>
  27. <label for="numDice" class="form-label">Number of Dice</label>
  28. <input type="range" class="form-range" id="numDice" min="1" max="20">
  29. <button class="btn btn-primary">Roll!</button>
  30. </form>
  31. </div>
  32. </body>
  33. </html>