2024-06-25 10:05:57 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>Gamma World Die Roller</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="styles.css">
|
2024-07-01 13:24:27 +00:00
|
|
|
<script type="module" src="rolldice.js" defer></script>
|
2024-06-25 10:05:57 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<h2>Roll Dice</h2>
|
|
|
|
|
|
|
|
<div class="content-container">
|
|
|
|
<form id="diceForm">
|
|
|
|
<div class="form-row">
|
|
|
|
<div class="form-field">
|
|
|
|
<label for="quantity">Quantity:</label>
|
|
|
|
<input type="number" name="quantity" id="quantity" min="1" max="100" value="4">
|
|
|
|
</div>
|
|
|
|
<div class="form-field">
|
|
|
|
<label for="geometry">Geometry:</label>
|
|
|
|
<input type="number" name="geometry" id="geometry" min="2" max="100" value="6">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
|
|
<div class="form-field">
|
|
|
|
<label for="discard">Discard Lowest Roll</label><input type="checkbox" name="discard" id="discard"/>
|
|
|
|
</div>
|
|
|
|
<div class="form-field">
|
|
|
|
<button type="submit">Roll</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
<div id="results"></div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|