A program that creates a game from XML
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
- Completed by
Related branches
Related bugs
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>
<destinatio
<option>
<option>
<id>b</id>
<text>Move backwards</text>
<destinatio
<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>
<destinatio
<option>
</options>
</place>
</pydventure>
Work Items
Dependency tree
* Blueprints in grey have been implemented.