|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<XMLDB PATH="mod/game/db" VERSION="20160626" COMMENT="XMLDB file for Moodle mod/game"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd">
|
|
|
|
<TABLES>
|
|
|
|
<TABLE NAME="game" COMMENT="game">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
|
|
<FIELD NAME="name" TYPE="char" LENGTH="255" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="course" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="sourcemodule" TYPE="char" LENGTH="50" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="timeopen" TYPE="int" LENGTH="10" NOTNULL="false" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="timeclose" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="quizid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="glossaryid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="glossarycategoryid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="questioncategoryid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="bookid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="gamekind" TYPE="char" LENGTH="20" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="param1" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="param2" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="param3" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="param4" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="param5" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="param6" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="param7" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="param8" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="param9" TYPE="text" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="param10" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="shuffle" TYPE="int" LENGTH="2" NOTNULL="false" DEFAULT="1" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="timemodified" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="gameinputid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="toptext" TYPE="text" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="bottomtext" TYPE="text" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="grademethod" TYPE="int" LENGTH="2" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="grade" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="decimalpoints" TYPE="int" LENGTH="2" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="popup" TYPE="int" LENGTH="4" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="review" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="attempts" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="glossaryid2" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="glossarycategoryid2" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="language" TYPE="char" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="subcategories" TYPE="int" LENGTH="1" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="maxattempts" TYPE="int" LENGTH="3" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="userlanguage" TYPE="char" LENGTH="100" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="disablesummarize" TYPE="int" LENGTH="1" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="glossaryonlyapproved" TYPE="int" LENGTH="1" NOTNULL="false" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="completionattemptsexhausted" TYPE="int" LENGTH="1" NOTNULL="false" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="completionpass" TYPE="int" LENGTH="1" NOTNULL="false" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_attempts" COMMENT="game_attempts">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
|
|
<FIELD NAME="gameid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="userid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="timestart" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="timefinish" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="timelastattempt" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="lastip" TYPE="char" LENGTH="30" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="lastremotehost" TYPE="char" LENGTH="50" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="preview" TYPE="int" LENGTH="1" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="attempt" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="score" TYPE="float" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="attempts" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="language" TYPE="char" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
<INDEXES>
|
|
|
|
<INDEX NAME="gameiduseridfinished" UNIQUE="false" FIELDS="gameid, userid, timefinish"/>
|
|
|
|
</INDEXES>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_grades" COMMENT="game_grades">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
|
|
<FIELD NAME="gameid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="userid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="score" TYPE="float" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="timemodified" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
<INDEXES>
|
|
|
|
<INDEX NAME="userid" UNIQUE="false" FIELDS="userid"/>
|
|
|
|
<INDEX NAME="gameid" UNIQUE="false" FIELDS="gameid"/>
|
|
|
|
</INDEXES>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_queries" COMMENT="game_queries">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
|
|
<FIELD NAME="attemptid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="gamekind" TYPE="char" LENGTH="255" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="gameid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="userid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="sourcemodule" TYPE="char" LENGTH="20" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="questionid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="glossaryentryid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="questiontext" TYPE="text" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="score" TYPE="float" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="timelastattempt" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="studentanswer" TYPE="text" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="col" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="row" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="horizontal" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="answertext" TYPE="text" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="correct" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="attachment" TYPE="char" LENGTH="200" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="answerid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="tries" TYPE="int" LENGTH="10" NOTNULL="false" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
<INDEXES>
|
|
|
|
<INDEX NAME="attemptid" UNIQUE="false" FIELDS="attemptid"/>
|
|
|
|
</INDEXES>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_hangman" COMMENT="game_hangman">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="queryid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="letters" TYPE="char" LENGTH="100" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="allletters" TYPE="char" LENGTH="100" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="try" TYPE="int" LENGTH="4" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="maxtries" TYPE="int" LENGTH="4" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="finishedword" TYPE="int" LENGTH="4" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="corrects" TYPE="int" LENGTH="4" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="iscorrect" TYPE="int" LENGTH="2" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_cross" COMMENT="game_cross">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="usedcols" TYPE="int" LENGTH="3" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="usedrows" TYPE="int" LENGTH="3" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="words" TYPE="int" LENGTH="3" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="wordsall" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="createscore" TYPE="float" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="createtries" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="createtimelimit" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="createconnectors" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="createfilleds" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="createspaces" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="triesplay" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_cryptex" COMMENT="game_cryptex">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="letters" TYPE="text" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_millionaire" COMMENT="game_millionaire">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="queryid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="state" TYPE="int" LENGTH="2" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="level" TYPE="int" LENGTH="2" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_sudoku" COMMENT="game_sudoku">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="level" TYPE="int" LENGTH="4" NOTNULL="false" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="data" TYPE="char" LENGTH="81" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="opened" TYPE="int" LENGTH="4" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="guess" TYPE="char" LENGTH="81" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_sudoku_database" COMMENT="game_sudoku_database">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
|
|
<FIELD NAME="level" TYPE="int" LENGTH="3" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="opened" TYPE="int" LENGTH="2" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="data" TYPE="char" LENGTH="81" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
<INDEXES>
|
|
|
|
<INDEX NAME="data" UNIQUE="true" FIELDS="data"/>
|
|
|
|
</INDEXES>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_bookquiz" COMMENT="game_bookquiz">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="lastchapterid" TYPE="char" LENGTH="81" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_bookquiz_chapters" COMMENT="game_bookquiz_chapters">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
|
|
<FIELD NAME="attemptid" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="chapterid" TYPE="char" LENGTH="81" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
<INDEXES>
|
|
|
|
<INDEX NAME="attemptidchapterid" UNIQUE="false" FIELDS="attemptid, chapterid"/>
|
|
|
|
</INDEXES>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_bookquiz_questions" COMMENT="game_bookquiz">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
|
|
<FIELD NAME="gameid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="chapterid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="questioncategoryid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
<INDEXES>
|
|
|
|
<INDEX NAME="gameidchapterid" UNIQUE="false" FIELDS="gameid, chapterid"/>
|
|
|
|
</INDEXES>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_export_javame" COMMENT="game_export_javame">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
|
|
<FIELD NAME="filename" TYPE="char" LENGTH="20" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="icon" TYPE="char" LENGTH="100" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="createdby" TYPE="char" LENGTH="50" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="vendor" TYPE="char" LENGTH="50" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="name" TYPE="char" LENGTH="20" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="description" TYPE="char" LENGTH="100" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="version" TYPE="char" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="maxpicturewidth" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="maxpictureheight" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="type" TYPE="char" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_export_html" COMMENT="game_export_html">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
|
|
<FIELD NAME="filename" TYPE="char" LENGTH="30" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="title" TYPE="char" LENGTH="200" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="checkbutton" TYPE="int" LENGTH="2" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="printbutton" TYPE="int" LENGTH="2" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="inputsize" TYPE="int" LENGTH="3" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="maxpicturewidth" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="maxpictureheight" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="type" TYPE="char" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_snakes" COMMENT="game_snakes">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="snakesdatabaseid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="position" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="queryid" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="dice" TYPE="int" LENGTH="1" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_snakes_database" COMMENT="game_snakes_database">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
|
|
<FIELD NAME="name" TYPE="char" LENGTH="100" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="usedcols" TYPE="int" LENGTH="3" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="usedrows" TYPE="int" LENGTH="3" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="data" TYPE="text" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="fileboard" TYPE="char" LENGTH="100" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="direction" TYPE="int" LENGTH="2" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="headerx" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="headery" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="footerx" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="footery" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="width" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="height" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_course" COMMENT="game_course">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
|
|
<FIELD NAME="messagewin" TYPE="text" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="messageloose" TYPE="text" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_course_inputs" COMMENT="game_course_inputs">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
|
|
<FIELD NAME="name" TYPE="char" LENGTH="100" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="course" TYPE="int" LENGTH="10" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="sourcemodule" TYPE="char" LENGTH="20" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="ids" TYPE="text" NOTNULL="false" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_hiddenpicture" COMMENT="game_hiddenpicture">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="correct" TYPE="int" LENGTH="4" NOTNULL="false" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="wrong" TYPE="int" LENGTH="4" NOTNULL="false" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="found" TYPE="int" LENGTH="4" NOTNULL="false" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
</TABLE>
|
|
|
|
<TABLE NAME="game_repetitions" COMMENT="game_repetitions">
|
|
|
|
<FIELDS>
|
|
|
|
<FIELD NAME="id" TYPE="int" LENGTH="10" NOTNULL="true" SEQUENCE="true"/>
|
|
|
|
<FIELD NAME="gameid" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="userid" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="questionid" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="glossaryentryid" TYPE="int" LENGTH="10" NOTNULL="true" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
<FIELD NAME="repetitions" TYPE="int" LENGTH="10" NOTNULL="false" DEFAULT="0" SEQUENCE="false"/>
|
|
|
|
</FIELDS>
|
|
|
|
<KEYS>
|
|
|
|
<KEY NAME="primary" TYPE="primary" FIELDS="id"/>
|
|
|
|
</KEYS>
|
|
|
|
<INDEXES>
|
|
|
|
<INDEX NAME="main" UNIQUE="true" FIELDS="gameid, userid, questionid, glossaryentryid"/>
|
|
|
|
</INDEXES>
|
|
|
|
</TABLE>
|
|
|
|
</TABLES>
|
|
|
|
</XMLDB>
|