IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Die - Yet another die roller, But I like this one.
Feshy
post Nov 14 2005, 01:51 AM
Post #1


Moving Target
**

Group: Members
Posts: 715
Joined: 4-September 05
From: Metaplane GEPLK136 (The one with the lizards. You remember the lizards, don't you?)
Member No.: 7,684



I, too, have written a shadowrun die roller. I wanted more features, and an excuse to play with wxWidgets.

Features:

  • Handles normal and extended rolls
  • Handles all roll-related uses of edge, including adding dice before and after the roll, rerolling failures, and cancelling glitches
  • Idiot-proofs edge -- you can only add edge to a test once (no adding dice then cancelling a glitch)
  • Handles the negative qualities Gremlins and Bad Luck (bad luck will cancel edge use -- subtracting dice before or after the roll, rerolling hits, and turning a glitch into a critical glitch)
  • Handles optional extended test rules including limiting the number of rolls to the size of the dicepool, reducing hits by 1d6 on glitches, and rushing the test
  • Lagged Fibonacci random number generator for improved (pseudo) randomness
  • Very verbose text output ideal for posting to forum games (or for the pedantically minded)
  • Sortable and unsortable output (in case your GM retroactively applies negative modifiers and wants to remove two dice from the end of your roll, you can unsort the roll by unchecking "sort")
  • graphical dice (I had some actual Shadowrun dice, with the logo, and I scanned them...)
  • No libraries or interpretive language downloads needed, no install needed. Just one reasonably sized executable.


Here is some output from the program, so you can see the text features.

1) A plain vanilla roll:
CODE

Dice Pool / Dice Rolled: [ 12 | 12 ]
Hits scored: 5
Dice: [5] [3] [2] [1] [5] [2] [6] [4] [4] [6] [6] [4]


2) A roll with some edge, and sorted results:
CODE
Dice Pool / Dice Rolled: [ 12 | 22 ]
Edge was used to reroll the failures
Hits scored: 5
Dice: [1] [1] [1] [1] [1] [2] [3] [3] [3] [3] [3] [3] [3] [3] [4] [4] [4] [5] [5] [6] [6] [6]


3) A simple extended test:
CODE
Dice Pool / Dice Rolled: [ 8 | 8 ]
Hits scored: 1
Dice: [1] [1] [2] [3] [3] [3] [4] [6]  
============================
Dice Pool / Dice Rolled: [ 8 | 8 ]
Hits scored: 2
Dice: [1] [2] [3] [3] [4] [4] [5] [6]  
============================
Dice Pool / Dice Rolled: [ 8 | 8 ]
Hits scored: -5
<! A Glitch occured !> < Glitch reduced hits by 6 >
Dice: [1] [1] [1] [1] [2] [3] [4] [6]  
============================
Extended Hits: -2 out of 5 achieved in 3.0 intervals
<! Extended Test Failed, Glitches reduced hits below zero !>


Another extended test (using some rushed tests and bad luck):
CODE
Dice Pool / Dice Rolled: [ 8 | 8 ]
Rushing the test (Will glitch on 1 or 2)
Hits scored: 3
Dice: [5] [5] [2] [4] [1] [5] [1] [3]  
============================
Dice Pool / Dice Rolled: [ 8 | 8 ]
Edge was used to negate a glitch
The character's luck holds...
Rushing the test (Will glitch on 1 or 2)
Hits scored: 1
Dice: [3] [2] [5] [1] [4] [1] [4] [2]  
============================
Dice Pool / Dice Rolled: [ 8 | 13 ]
Edge was used to reroll the failures
The character's luck holds...
Rushing the test (Will glitch on 1 or 2)
Hits scored: 3
Dice: [1] [2] [2] [3] [3] [5] [6] [6] [2] [3] [3] [1] [4]  
============================
Dice Pool / Dice Rolled: [ 8 | 8 ]
Hits scored: 4
Dice: [3] [6] [5] [6] [6] [4] [2] [1]  
============================
Extended Hits: 11 out of 9 achieved in 2.5 intervals
Success!


Download it, give it a try, and let me know what you think.

Download Die
(file hosted at savefile.com)

Oh -- windows only, at the moment. Everything in the code is platform-independant, so theoretically I could port it to Mac or Linux if a) there was enough interest, and b) I had either of those machines. Alternately, some willing sucker with one of those platforms could compile it, I suppose.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 22nd November 2024 - 08:17 PM

Topps, Inc has sole ownership of the names, logo, artwork, marks, photographs, sounds, audio, video and/or any proprietary material used in connection with the game Shadowrun. Topps, Inc has granted permission to the Dumpshock Forums to use such names, logos, artwork, marks and/or any proprietary materials for promotional and informational purposes on its website but does not endorse, and is not affiliated with the Dumpshock Forums in any official capacity whatsoever.