Dice roller
Roll dice on screen when you cannot find the real ones · Game ●○○
Change these if you like
Prompt
Make a dice roller. Make it a single HTML file that opens in a browser with nothing to install and no other files. Put the CSS and JavaScript inside it. Do not use image files or any external address; use emoji or letters if you need a symbol. Roll two dice with 6 sides each. Show a big roll button in the middle. When it is pressed, show each die as a large number and the total underneath. Make the roll feel like a roll: let the numbers change quickly for about a second before settling. Keep a short history of the last five results at the bottom. When you are done, check that the total really matches the dice shown, and that rolling again replaces the result rather than adding to it.
What it uses: One file only · Say what it is first · Decide what shows
If the numbers settle too fast, ask for "about a second of tumbling before the result".
Paste what came back
You might also like