Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

A calculator app for a role playing game.

I was inspired by the Treehouse JavaScript and Jquery courses, so I started work on an HTML5 web app that I would personally find useful. It is a calculator specifically for the GURPS RPG. Right now it simulates 3d6 die rolls with positive and negative modifiers to determine success and failure as well as critical success and failure for skill rolls, but there are a number of complex and time consuming math calculations in GURPS that I could add calculators for besides skill rolls. For example jumping height and distance, lifting. combat, ritual magic, ... the list goes on. Try the calculator out and let me know what you think so far.

If you are unfamiliar with GURPS, skill rolls are rolled on 3 6 sided dice against a skill level. The higher a skill level is the better with 10 being average. Effective skill is determined by a base skill level plus or minus any modifiers. The roll is compared to the effective skill. If the roll is over the effective skill it is a failure. If the roll is a 17 or 18 it is a critical failure. If the roll is under the effective skill it is a success with a roll of 3 or 4 giving critical success. Critical success and failure chances are also changed when skills are very above or below average, and this too is factored into the calculations.

Margin of success and failure is also important for game results so that is also determined in the calculations.

I look forward to any feedback, especially from anyone familiar with GURPS.

I tried linking to a workspaces project so people could easily look through the back end but apparently it did not work, So instead I have uploaded it to http://apps.jamaxxtest.com/gurpsulator-demo/. If anyone is interested in seeing the code for any particular part, let me know and I will post it here.

3 Answers

No one interested? No GURPS fans here maybe? lol

"Bummer. It appears the page you're looking for doesn't exist." This is the response I'm getting from clicking your link! ):

I wonder if other treehouse members are not allowed to view my workspace. Did you click on http://teamtreehouse.com/workspaces/1876172 ?

If no one else can see the project I will , push the app to a server and post a link to the server. People will not be able to play with stuff in the back end but at least they can try the app out.

You can view the app front end at http://apps.jamaxxtest.com/gurpsulator-demo/ .

Thanks for the interest!

As well as the original Skill Roll Calculator, I now have a Jump Distance calculator added. I just need to do some testing with different values to make sure it is getting consistent and correct results according to GURPS rules. So far so good.

http://apps.jamaxxtest.com/gurpsulator-demo/