filmov
tv
JavaScript Pathfinder Part 3 Purchase Method for Ability Score Generation Tutorial

Показать описание
In this tutorial, we continue from last time and implement the Purchase method for generating ability scores (Str, Dex, Con, etc.) for the tabletop RPG, Pathfinder.
We allow the user to select between four different methods - Purchase (10), Purchase (15), Purchase (20) and Purchase (25)! All abilities have a base value of 10 and can be changed to any value between 7 and 18.
A table displaying all the point costs is shown to the right of the main table, and the current number of points spent is also displayed (e.g. 17/25).
All coding is done from within a HTML file, so it should be able to run in any modern browser!
CODE
USEFUL LINKS
FIND US ON FACEBOOK
We allow the user to select between four different methods - Purchase (10), Purchase (15), Purchase (20) and Purchase (25)! All abilities have a base value of 10 and can be changed to any value between 7 and 18.
A table displaying all the point costs is shown to the right of the main table, and the current number of points spent is also displayed (e.g. 17/25).
All coding is done from within a HTML file, so it should be able to run in any modern browser!
CODE
USEFUL LINKS
FIND US ON FACEBOOK