Title: JDOMXML
1JDOM/XML and The d20 System
Or, Two Okay Tastes One Good Taste Mike
Elliott Computers SeminarFirst Semester 08
2The Goal
To create a character creator for Dungeons and
Dragons (third edition, using the 3.5 revised
rules) which has two different ways of being
used. The program can be used manually, where
the user selects everything that they want to
include in the character, or it can be run
automatically (a feature not included in many
generators!) where the program can select all
options based on a few options selected at start.
3Dungeons and Dragons
- First released in 1974
- Most recent version of rules is 3.5 Revised
(2003) - Fourth Edition to be released this summer
- D20 System Open Source
- Six attributes at core of each characterSTR,
DEX, CON (physical)INT, WIS, CHA (mental)
4XML
- Related to HTML
- eXtensible Markup Language
- Users create their own tags
- All well-formed documents must have a root
element, and all tags must have a closing tag
associated with them. - Used for storing datanot a programming language.
ltnotegt lttogtTovelt/togt ltfromgtJanilt/fromgt ltheadinggtRe
minderlt/headinggt ltbodygtDon't forget me this
weekend!lt/bodygt lt/notegt
5JDOM
- Java Document Object Model
- Used by Java to parse XML files for manipulation
- Two different types of parsers DOMBuilder
(Document Object Model) and SAXBuilder (Simple
Api for Xml)
6Designing the PlayerCharacter Object
7The Enemy Poorly Designed Interfaces
8Good Design Redblade
9The Unfinished Product
10Roll Credits
- For more information, try
- (Dungeons and Dragons)
- http//www.d20srd.org
- http//www.wizards.com/dnd
- http//andargor.org
- (JDOM/XML)
- http//www.jdom.org
- Thanks to Mrs. Mickiewicz and Andrew