[projectaon] Re: Flowcharts

  • From: Jonathan Blake <jonathan.blake@xxxxxxxxxxxxxx>
  • To: projectaon@xxxxxxxxxxxxx
  • Date: Tue, 13 Nov 2012 12:02:10 -0800

On Mon, Nov 12, 2012 at 12:55 PM, Chris Neilson <crusty.chris@xxxxxxxxx> wrote:
>
> On 13/11/12 08:59, Jonathan Blake wrote:
>>
>> <death> on the last or death paragraph of a section that leads nowhere.
>
> the only issue i could potentially see here is if you can fail an adventure
> without dying (eg running out of time).
> perhaps <adventure_fail> or something more generic than "death"?
> admittedly this is a little nit-picky :)

So I've implemented it as a "deadend" element which should be generic enough.

>> <riddle idref="sectXXX"> on a the paragraph that tells you to find the
>> numbered section corresponding to the answer to the riddle/puzzle.
>>
>> Thoughts?
>
> Seems like a solid idea (unless you can get to a riddle answer from two
> different sections - can you have two idrefs?)

Well, the problem, as Simon pointed out, isn't an answer that can be
reached from two different sections but a puzzle/riddle that can lead
to more than one answer. Thanks for bringing it up though because it's
an important detail.

I've implemented a "puzzle" element that can have an "idref" attribute
or an "idrefs" attribute for when we need to link to more than one
answer (the linked IDs in the "idrefs" attribute should be separated
by spaces). For example:

~~~~~
<puzzle idref="section12">If you know the answer to her riddle, turn
to the entry of that number.</puzzle>

<puzzle idrefs="section23 section350">If you know only one of the two
correct numbers that you need to open the lock, turn to the entry of
that number.</puzzle>
~~~~~

The implementation of this in our XSL transformations needs to be
tested though, especially the DOT transformation (although that one
may quickly become obsolete!). Simon, if you're implementing this in
the XML, please shoot me a note when you've got a good test case.

--
Jon

~~~~~~
Manage your subscription at http://www.freelists.org/list/projectaon


Other related posts: