[tw5] Coding Fun: Dice Rolling

Baj’s post about dice-rolling for Pathfinder/D&D games got me thinking about how I’d go about it with what I’ve learned so far. Part and parcel of my on-going “how would I do this with TiddlyWiki” brain-age games …

The attached JSON file has two tiddlers, one my javascript macro for access to a random function, and the other one has a bunch of sample buttons for various kinds of dice rolls, showing the result of the random dice roll next to the button.

I’ve been exploring for the last few months “dynamically generation of filters”, a really tough kind of brain age game to find ways of doing things that may (or may not?) be very hard to do with TiddlyWiki otherwise.

Drag the attached into some TiddlyWiki instance (TiddlyWiki.com !), knowing that you’ll have to save and reload that TiddlyWiki instance for the javascript macro to start working.

Cheers !

CodingFun_DiceRolling.json (1.92 KB)