Nerun Posted April 9, 2022 Posted April 9, 2022 (edited) I have coded a small program in Python to roll dice in a terminal: download script in GitHub Gist UPDATED to version 1.6: added drop lowest dice and gaussian distribution for a drop lowest roll! Need help? Type help! Let's roll some dice for a character? You can calculate gaussian distribution even for the weirdest dice rolls! Usage Download PythonDiceRoller.py to your PC. And, if you have Python 3.9+ installed you can execute it with double-click i think. In Windows there should be an IDLE (Integrated Development and Learning Environment). Press F5 to run it. If not, use command prompt: python PythonDiceRoller.py. In Linux (my case), Python come by default in many distros. Double click open it in IDLE, run with F5, or execute in terminal: python PythonDiceRoller.py. Write "quit", "q", "exit", "e", or CTRL+D or CTRL+C to exit. Edited April 18, 2022 by Nerun Version 1.6 1 Quote
Nerun Posted April 16, 2022 Author Posted April 16, 2022 (edited) UPDATED to version 1.4 Now with gaussian distribution! Edited April 16, 2022 by Nerun Quote
SDLeary Posted April 16, 2022 Posted April 16, 2022 (edited) Ahhh, nice! Brings back fond memories of some of the RQ utilities on the old Soda archives! macOS has a BSD userland. Think there could be any issues installed there? SDLeary Edited April 16, 2022 by SDLeary Quote
David Scott Posted April 16, 2022 Posted April 16, 2022 30 minutes ago, SDLeary said: macOS has a BSD userland. Runs fine on Monterey with Python 3.10.4 with the Python Launcher 1 1 Quote ----- Search the Glorantha Resource Site: https://wellofdaliath.chaosium.com. Search the Glorantha mailing list archives: https://glorantha.steff.in/digests/
g33k Posted April 16, 2022 Posted April 16, 2022 1 hour ago, David Scott said: DEX 3 / STR 5 / POW 6 ??? Your computer hates you!😉 3 Quote C'es ne pas un .sig
Lloyd Dupont Posted April 16, 2022 Posted April 16, 2022 1 hour ago, g33k said: DEX 3 / STR 5 / POW 6 ??? Your computer hates you!😉 This are really good rolls! My usual luck is DEX 3 / STR 4 / POW 4! 😛 1 Quote
g33k Posted April 17, 2022 Posted April 17, 2022 18 hours ago, Lloyd Dupont said: This are really good rolls! My usual luck is DEX 3 / STR 4 / POW 4! 😛 You have my condolences For all the many characters you've lost. 1 Quote C'es ne pas un .sig
robertp Posted April 17, 2022 Posted April 17, 2022 That's cool! I've been building a dice roller plus some d100 style character and NPC creation utilities for the homebrew system I've been working on. Right now it's a bit tailored to my game, but it is parameterized (i.e., races/species, characteristics, etc.) with CSV or YAML files so that it's generic within some limits. It's not very user friendly at the moment It's in ruby - I'm going to make a gem with the generic stuff in it so that it'll work more like a utility, like you have. I have a lot of work to do on that though... here's an example of use. You can find the project here: https://gitlab.com/robertprince/sae/-/tree/master/d100 2 Quote
Nerun Posted April 18, 2022 Author Posted April 18, 2022 20 hours ago, robertp said: That's cool! I've been building a dice roller plus some d100 style character and NPC creation utilities for the homebrew system I've been working on. Right now it's a bit tailored to my game, but it is parameterized (i.e., races/species, characteristics, etc.) with CSV or YAML files so that it's generic within some limits. It's not very user friendly at the moment It's in ruby - I'm going to make a gem with the generic stuff in it so that it'll work more like a utility, like you have. I have a lot of work to do on that though... here's an example of use. You can find the project here: https://gitlab.com/robertprince/sae/-/tree/master/d100 Looks great @robertp! Quote
Nerun Posted April 18, 2022 Author Posted April 18, 2022 UPDATED to version 1.6: added drop lowest dice and gaussian distribution for a drop lowest roll! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.