Printable Version of Topic

Click here to view this topic in its original format

Dumpshock Forums _ Community Projects _ Die - Yet another die roller

Posted by: Feshy Nov 14 2005, 01:51 AM

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

Features:



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.

http://savefile.com/files/9874709
(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.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)