grueble/dnd_client — pull request #2 by grueble (2013-07-22 22:52:55+00:00)
Title: Visitors can create a character

Accessible from the homepage, a visitor to the site can create a character to be added to the database. This will be accomplished through a form interface that takes a number of parameters and generates some of its own via the use of the Dice-Roller. Visitors will also be able to view a list of all characters that are present in the database - this will be rerouted as the homepage.

In the process of creating a character, visitors will be asked to specify the following fields: character name, character lvl, hit die (an integer - represents the amount of hp gained per level), and 6 primary attributes (STR, DEX, CON, INT, WIS, CHA). All of these attributes will be validated as non-null in order to instantiate the character.

A visitor creating a character will also need to specify a few more stats, but these will not be numbers, but rather options to select from. Stats of this variety include: Base Attack Bonus, Will Save, Reflex Save, Fortitude Save. The presence of these attributes will also be validated.