A program that creates a game from XML

Registered by Lauri Niskanen

A program that creates game from an XML file.

Blueprint information

Status:
Started
Approver:
Lauri Niskanen
Priority:
Essential
Drafter:
Lauri Niskanen
Direction:
Needs approval
Assignee:
None
Definition:
Approved
Series goal:
Accepted for 0.3
Implementation:
Started
Milestone target:
None
Started by
Lauri Niskanen

Related branches

Sprints

Whiteboard

We need a file format for game projects. XML should be perfect for this. We need program that creates the Python-game from the XML.

The XML-file could be like this:

<pydventure>
 <name>Example game</name>
 <creator>Foo Bar</creator>

 <place>
  <id>room1</id>
  <name>First room</name>
  <messages>
   <message>You are now on the first room.</message>
   <message>There is nothing here.</message>
  </messages>
  <options>
   <option>
    <id>a</id>
    <text>Move forwards</text>
    <destination>room2</destination>
   <option>
   <option>
    <id>b</id>
    <text>Move backwards</text>
    <destination>quit</destination>
   <option>
  </options>
 </place>

 <place>
  <id>room2</id>
  <name>Second room</name>
  <messages>
   <message>You are now on the second room.</message>
   <message>You can't move any further.</message>
  </messages>
  <options>
   <option>
    <id>b</id>
    <text>Move back to the first room</text>
    <destination>room1</destination>
   <option>
  </options>
 </place>
</pydventure>

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.