5punk BeardyRoller
Moderator: Forum Moderators
-
- Berk
- Posts: 10353
- Joined: December 7th, 2004, 17:02
- Location: Oklahoma City, OK, USA
- Contact:
Re: 5punk BeardyRoller
Progress update:
I've fixed a few bugs (like not handling NaN errors in the Shadowrun side), and I've added in the check boxes (each game has its own) for choosing to output rolls to a text file.
My plan is to have the program pop up a dialog asking how many rolls you want to make when you check the box and click the roll button. What I'm wondering is how much detail should I give for the output? I am thinking it might be a good idea to have a timestamp on each roll made and possibly a game label on each roll, or maybe each batch of rolls.
For example:
2012-01-19 1755 GMT: 10, 6: 16
or
2012-01-19 1755 GMT SLA: 2, 9: 11
Any ideas?
I've fixed a few bugs (like not handling NaN errors in the Shadowrun side), and I've added in the check boxes (each game has its own) for choosing to output rolls to a text file.
My plan is to have the program pop up a dialog asking how many rolls you want to make when you check the box and click the roll button. What I'm wondering is how much detail should I give for the output? I am thinking it might be a good idea to have a timestamp on each roll made and possibly a game label on each roll, or maybe each batch of rolls.
For example:
2012-01-19 1755 GMT: 10, 6: 16
or
2012-01-19 1755 GMT SLA: 2, 9: 11
Any ideas?
Re: 5punk BeardyRoller
The game name probably isn't necessary - what are the chances you'll be making batch rolls for two games at the same time? The date/time probably are too I suppose, but neither would detract from the log so there's no harm in putting them in if it's not a huge difficulty.
-
- Turret
- Posts: 8090
- Joined: October 13th, 2004, 14:13
- Location: The house of Un-Earthly horrors
Re: 5punk BeardyRoller
A custom text field to label rolls might be handy
-
- Berk
- Posts: 10353
- Joined: December 7th, 2004, 17:02
- Location: Oklahoma City, OK, USA
- Contact:
Re: 5punk BeardyRoller
I was thinking about using them as a header for the whole batch instead of on each roll. That would be harder to do I think, but you're right that stuff isn't strictly necessary.Dog Pants wrote:The game name probably isn't necessary - what are the chances you'll be making batch rolls for two games at the same time? The date/time probably are too I suppose, but neither would detract from the log so there's no harm in putting them in if it's not a huge difficulty.
That shouldn't be a problem. I was planning to make a pop-up dialog to input how many rolls to do, since adding it to my GUI at this point would be a major hassle. The only thing I can see being a problem is that I don't think Java will let me put two inputs in one pop-up dialog, so I may have to trigger two pop-ups, which is not ideal.Joose wrote:A custom text field to label rolls might be handy
-
- Berk
- Posts: 10353
- Joined: December 7th, 2004, 17:02
- Location: Oklahoma City, OK, USA
- Contact:
Re: 5punk BeardyRoller
New Release!
http://www.apathymachine.com/beardz/Bea ... _v0.93.jar
Version 0.93:
- Fixed the lack of NaN handling for Shadowrun
- Added batch rolling/text output support
- Reorganized the code a bit so that it's easier to work with
If you guys don't like having the timestamp on the text output let me know what you want instead. Right now I'm using mostly to help organize the text file, as if you don't delete it, it will keep growing. It also adds new rolls to the bottom of the file, so keep that in mind.
http://www.apathymachine.com/beardz/Bea ... _v0.93.jar
Version 0.93:
- Fixed the lack of NaN handling for Shadowrun
- Added batch rolling/text output support
- Reorganized the code a bit so that it's easier to work with
If you guys don't like having the timestamp on the text output let me know what you want instead. Right now I'm using mostly to help organize the text file, as if you don't delete it, it will keep growing. It also adds new rolls to the bottom of the file, so keep that in mind.
-
- Berk
- Posts: 10353
- Joined: December 7th, 2004, 17:02
- Location: Oklahoma City, OK, USA
- Contact:
Re: 5punk BeardyRoller
UPDATE GET!
http://www.apathymachine.com/beardz/Bea ... _v0.9b.exe
I've finished porting BeardyRoller over to C#/Windows Forms. I mostly did this just as a way to get more familiar with C#. C# definitely has some great advantages over Java in terms of code simplicity. The line count has reduce by a fair amount, mostly in the Shadowrun dice roll logic method.
http://www.apathymachine.com/beardz/Bea ... _v0.9b.exe
I've finished porting BeardyRoller over to C#/Windows Forms. I mostly did this just as a way to get more familiar with C#. C# definitely has some great advantages over Java in terms of code simplicity. The line count has reduce by a fair amount, mostly in the Shadowrun dice roll logic method.
Re: 5punk BeardyRoller
Woo! Beardyroller is handy.
-
- Site Owner
- Posts: 9597
- Joined: May 16th, 2005, 15:31
- Location: Coventry, UK
- Contact:
Re: 5punk BeardyRoller
Nice work, is there any way it could be compiled for phones, etc?
-
- Berk
- Posts: 10353
- Joined: December 7th, 2004, 17:02
- Location: Oklahoma City, OK, USA
- Contact:
Re: 5punk BeardyRoller
I might be able to do it for Windows Phone without too much trouble, possibly, as I did this using Visual Studio 2012 Express, and I can re-build it as WPF app instead of Forms. I suppose Android could be done as well, though I have no clue. To do iOS development I'd need to either buy a Mac (I do have some experience working with Xcode) or spend some money and buy Xamarin.FatherJack wrote:Nice work, is there any way it could be compiled for phones, etc?
-
- Site Owner
- Posts: 9597
- Joined: May 16th, 2005, 15:31
- Location: Coventry, UK
- Contact:
Re: 5punk BeardyRoller
Ah, I wasn't sue if whatever you use (I guess VisualStudio) had plugins for different platforms, like things like RPGMaker, if it is VS though then I can understand why they only offer Windows Phone.deject wrote:I might be able to do it for Windows Phone without too much trouble, possibly, as I did this using Visual Studio 2012 Express, and I can re-build it as WPF app instead of Forms. I suppose Android could be done as well, though I have no clue. To do iOS development I'd need to either buy a Mac (I do have some experience working with Xcode) or spend some money and buy Xamarin.FatherJack wrote:Nice work, is there any way it could be compiled for phones, etc?
-
- Berk
- Posts: 10353
- Joined: December 7th, 2004, 17:02
- Location: Oklahoma City, OK, USA
- Contact:
Re: 5punk BeardyRoller
Actually, I think I might need to download a separate version of VS Express 2012 to do WP8 development, as I have the Desktop version.FatherJack wrote:Ah, I wasn't sue if whatever you use (I guess VisualStudio) had plugins for different platforms, like things like RPGMaker, if it is VS though then I can understand why they only offer Windows Phone.deject wrote:I might be able to do it for Windows Phone without too much trouble, possibly, as I did this using Visual Studio 2012 Express, and I can re-build it as WPF app instead of Forms. I suppose Android could be done as well, though I have no clue. To do iOS development I'd need to either buy a Mac (I do have some experience working with Xcode) or spend some money and buy Xamarin.FatherJack wrote:Nice work, is there any way it could be compiled for phones, etc?