Docsity

XML Parsing Assignment for CVE: Extending Capabilities to Handle Arbitrary Areas and Rooms, Assignments of Computer Science

Toggle sidebar
bg1
Assignment #4
Due: Wednesday, 3/21/2007
Submit via email to: [email protected]
Summary
Modify your current CVE which parses the “simple” XML document for
building an environment such that it parses a more complicated XML
document that allows for an Environment to hold an arbitrary number
of Areas, and each Area to hold an arbitrary number of Areas and
Rooms. Once your environment is built, you will need to add the
Player to the environment and have the Environment say something to
them. The only modification necessary in this portion of the CVE is
which Room does the Player actually get added to since now there are
more then one room. For the time being you can just pick a room to
add them to when they login. So this is assignment is to basically
implement the algorithm we wrote on the board in class on Monday,
3/5/2007. If you do not have this algorithm, you will mostly like want
to get it from one of your classmate’s notes, as it will be invaluable in
completing this assignment.
NOTE
The assumed starting state of your CVE before beginning this
assignment is the solution to Assignment #3 on the website. So if your
CVE is in bad place right now, you might want to take a look at that
solution and either repair your implementation, or replace it with that
solution.

Partial preview of the text

Download XML Parsing Assignment for CVE: Extending Capabilities to Handle Arbitrary Areas and Rooms and more Assignments Computer Science in PDF only on Docsity!

Assignment # Due: Wednesday, 3/21/ Submit via email to: [email protected] Summary Modify your current CVE which parses the “simple” XML document for building an environment such that it parses a more complicated XML document that allows for an Environment to hold an arbitrary number of Areas, and each Area to hold an arbitrary number of Areas and Rooms. Once your environment is built, you will need to add the Player to the environment and have the Environment say something to them. The only modification necessary in this portion of the CVE is which Room does the Player actually get added to since now there are more then one room. For the time being you can just pick a room to add them to when they login. So this is assignment is to basically implement the algorithm we wrote on the board in class on Monday, 3/5/2007. If you do not have this algorithm, you will mostly like want to get it from one of your classmate’s notes, as it will be invaluable in completing this assignment. NOTE The assumed starting state of your CVE before beginning this assignment is the solution to Assignment #3 on the website. So if your CVE is in bad place right now, you might want to take a look at that solution and either repair your implementation, or replace it with that solution.