Research Log of Web Science Students

Computer Science is not simply programming

GLARE XML Template

leave a comment »

I just finished my XML Template for my game. I patterned the XML format from MyMathVentures’ post but I altered it so it can adjust to my own. Here’s the xml draft.

<WSG_EDUGAME name="">
	<VERSION> game_version </VERSION>
	<PLAYER>
		<NAME> name </NAME>
	</PLAYER>
	<ASSESSMENT>
		<GAME_INFO>
			<DATE_PLAYED>
				<DATE>month/day/year</DATE>
				<TIME_PLAYED>hh:mm:ss</TIME_PLAYED>
			</DATE_PLAYED>
			<CATEGORY>category</CATEGORY>
			<TOTAL_GAME_TIME> hh:mm:ss </TOTAL_GAME_TIME>
			<TOTAL_GAME_SCORE> gameScore </TOTAL_GAME_SCORE>
			<NO_OF_CORRECT_ITEMS> numCorrectItems </NO_OF_CORRECT_ITEMS>
			<NO_OF_INCORRECT_ITEMS> numIncorrectItems </NO_OF_INCORRECT_ITEMS>
		</GAME_INFO>
		<GAME_DATA>
			<CORRECT_ITEMS>
				<ITEM>
					<QUESTION_ID> qId </QUESTION_ID>
					<ANSWER> answer </ANSWER>
					<TOTAL_TIME_ANSWERED> hh:mm:ss <TOTAL_TIME_ANSWERED>
					<NUMBER_OF_TRIES> numTries </NUMBER_OF_TRIES>
				</ITEM>
			</CORRECT_ITEMS>
			<INCORRECT_ITEMS>
				<ITEM>
					<QUESTION_ID> qId </QUESTION_ID>
					<C_ANSWER> corAnswer </C_ANSWER>
					<P_ANSWER> playerAnswer </P_ANSWER>
					<TOTAL_TIME_ANSWERED> hh:mm:ss <TOTAL_TIME_ANSWERED>
					<NUMBER_OF_TRIES> numTries </NUMBER_OF_TRIES>
				</ITEM>
			</INCORRECT_ITEMS>
		</GAME_DATA>
	</ASSESSMENT>
</WSG_EDUGAME></code>

Advertisements

Written by rururu

February 10, 2010 at 8:03 pm

Posted in Augmented Reality

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: