5punk BeardyRoller

For games played by men (and women) with beards, such as tabletop RPGs.

Moderator: Forum Moderators

deject
Berk
Berk
Posts: 10353
Joined: December 7th, 2004, 17:02
Location: Oklahoma City, OK, USA
Contact:

Re: 5punk BeardyRoller

Post by deject »

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?
Dog Pants
Site Moderator
Site Moderator
Posts: 21653
Joined: April 29th, 2005, 13:39
Location: Surrey, UK
Contact:

Re: 5punk BeardyRoller

Post by Dog Pants »

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.
Joose
Turret
Turret
Posts: 8090
Joined: October 13th, 2004, 14:13
Location: The house of Un-Earthly horrors

Re: 5punk BeardyRoller

Post by Joose »

A custom text field to label rolls might be handy
deject
Berk
Berk
Posts: 10353
Joined: December 7th, 2004, 17:02
Location: Oklahoma City, OK, USA
Contact:

Re: 5punk BeardyRoller

Post by deject »

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.
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.
Joose wrote:A custom text field to label rolls might be handy
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.
deject
Berk
Berk
Posts: 10353
Joined: December 7th, 2004, 17:02
Location: Oklahoma City, OK, USA
Contact:

Re: 5punk BeardyRoller

Post by deject »

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.
deject
Berk
Berk
Posts: 10353
Joined: December 7th, 2004, 17:02
Location: Oklahoma City, OK, USA
Contact:

Re: 5punk BeardyRoller

Post by deject »

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.
Dog Pants
Site Moderator
Site Moderator
Posts: 21653
Joined: April 29th, 2005, 13:39
Location: Surrey, UK
Contact:

Re: 5punk BeardyRoller

Post by Dog Pants »

Woo! Beardyroller is handy.
FatherJack
Site Owner
Site Owner
Posts: 9597
Joined: May 16th, 2005, 15:31
Location: Coventry, UK
Contact:

Re: 5punk BeardyRoller

Post by FatherJack »

Nice work, is there any way it could be compiled for phones, etc?
deject
Berk
Berk
Posts: 10353
Joined: December 7th, 2004, 17:02
Location: Oklahoma City, OK, USA
Contact:

Re: 5punk BeardyRoller

Post by deject »

FatherJack wrote:Nice work, is there any way it could be compiled for phones, etc?
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
Site Owner
Site Owner
Posts: 9597
Joined: May 16th, 2005, 15:31
Location: Coventry, UK
Contact:

Re: 5punk BeardyRoller

Post by FatherJack »

deject wrote:
FatherJack wrote:Nice work, is there any way it could be compiled for phones, etc?
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.
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
Berk
Berk
Posts: 10353
Joined: December 7th, 2004, 17:02
Location: Oklahoma City, OK, USA
Contact:

Re: 5punk BeardyRoller

Post by deject »

FatherJack wrote:
deject wrote:
FatherJack wrote:Nice work, is there any way it could be compiled for phones, etc?
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.
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.
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.
Post Reply