Negative Space: Programming for Gamers
- Are my dice random?
-
My d20 appears to have been rolling a lot of ones, a disaster if I were playing D&D but a boon for Gods & Monsters. Is my die really random, or is it skewed towards a particular result? Use the ‘R’ open source statistics tool to find out.
- Programming for Gamers: Choosing a random item
- If you can understand a roleplaying game’s rules, you can understand programming. Programming is a lot easier.
- Easier random tables
- Rather than having to type --table and --count, why not just type the table name and an optional count number?
- Programming a Roman thumb
- Before we move on to more complex stuff with the “random” script, how about something even simpler? Choose or die, Bezonian!
- Multiple tables on the same command
- The way the “random” script currently stands, it does one table at a time. Often, however, you have more than one table you know you’re going to need. Why not use one command to rule them all?
- How random is Python’s random?
- Can you trust a script’s random number generator to actually be random?
- Freeform Villains & Vigilantes calculator
- This MathPad-like command-line filter can be used to create free-form character calculations in Villains & Vigilantes.
- Percentage-based random tables
- Our current random item generator assumes that each item shows up as often as any other item. That’s very OD&D-ish. But AD&D uses percentage dice to weight toward some monsters and items more than others.
- Random table rolls
- As often as not, when you roll on a random table you are rolling a random number of times. Now that we have a dice library, we can turn the roll count into a die roll.
- Automatically roll subtables
- The final version of the table roller will automatically roll subtables, handling the wandering encounter chart style of Gods & Monsters.
- Rolling random levels across a range of experience points in AD&D
-
I’m going to North Texas again, and this time I’m going to run an AD&D game for levels 4-6. How can I roll a random number of experience points that will only produce characters of level 4, 5, or 6 regardless of class?
- Combining damage dice into attack roll
-
Are you annoyed that when you make a great attack roll it does not affect the damage? This option may appeal to you, then.
- DieSquare for iOS
-
Are your dice biased? Perform on-the-fly chi-square tests using your iPad or iPhone and Pythonista.
- Command-line Die Square
-
Running chi-square on the command-line, using data from the mobile Pythonista app.
- Daredevils NPC generator
-
Part 1 of 2: a script to calculate Daredevils attributes, talents, skills, and stats from a text file of initial values and character development.
- Automated Scribus Daredevils NPC character sheets
-
Part 2 of 2: the free Scribus page layout software makes it easy to automate the creation of NPC character sheets.
- Regenerate multiple files
-
The “pipewalk” command will regenerate multiple output files from multiple source files, using any arbitrary command that accepts filenames and produces to standard output.
- Quick-and-dirty old-school island script
-
Here’s a Python-based island generator using the tables from the Judges Guild Island Book 1.