dungeonsoffear - 2015-06-16

Today I began work on decision parsing. Using PHP SimpleXML I wrote an algorithm to recursively drill down if statements to find available decisions. I didn't write any of the conditional logic, but I do have place holders that I will replace. As far as the decision parsing goes, it will be pretty easy; look at the XML nodes trait attribute, value attribute, and operator, and write a big switch statement to see if it is valid.

This is exciting because resolution parsing, although a little more complex, is basically the same thing with more complicated conditional logic; but the XML traversal will be very similar.

I took the list from last dev log and will be posting it with each new dev log to keep track of my progress.

  • Decision parsing based on traits <-- IN PROGRESS
  • Resolution parsing from XML, modifying traits
  • Authoring tools for rooms, including an XML validator and a test feature
  • Game invites, declines.
  • General game rules, like death and pants shitter. Email functionality
  • Unit testing, code cleanup, documentation
  • Aesthetics

1 Hour