[gbrainy] Fixes to XML games plus first definitions



commit 8bad380cebfe66f908192e6ac001dc822dcc89be
Author: Jordi Mas <jmas softcatala org>
Date:   Sun Jun 6 16:56:40 2010 +0200

    Fixes to XML games plus first definitions

 data/game-graphics/clock.svg  |  370 +++++++++++++++++++++++++++++++++++++++++
 data/game-graphics/family.svg |  162 ++++++++++++++++++
 data/games.xml                |   49 ++++++
 3 files changed, 581 insertions(+), 0 deletions(-)
---
diff --git a/data/game-graphics/clock.svg b/data/game-graphics/clock.svg
new file mode 100644
index 0000000..3181e20
--- /dev/null
+++ b/data/game-graphics/clock.svg
@@ -0,0 +1,370 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:xlink="http://www.w3.org/1999/xlink";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="100"
+   height="100"
+   viewBox="0 0 80 80"
+   version="1.1"
+   id="svg2"
+   inkscape:version="0.47 r22583"
+   sodipodi:docname="clock.svg">
+  <metadata
+     id="metadata124">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="1152"
+     inkscape:window-height="694"
+     id="namedview122"
+     showgrid="false"
+     inkscape:zoom="0.944"
+     inkscape:cx="125"
+     inkscape:cy="122.88136"
+     inkscape:window-x="0"
+     inkscape:window-y="52"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="svg2" />
+  <defs
+     id="defs4">
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 125 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="250 : 125 : 1"
+       inkscape:persp3d-origin="125 : 83.333333 : 1"
+       id="perspective126" />
+    <g
+       id="g6">
+      <symbol
+         overflow="visible"
+         id="glyph0-0"
+         style="overflow:visible">
+        <path
+           style="stroke:none"
+           d="m 0.203125,0.71875 0,-3.640625 2.078125,0 0,3.640625 -2.078125,0 z M 0.4375,0.484375 l 1.609375,0 0,-3.171875 -1.609375,0 0,3.171875 z m 0,0"
+           id="path9" />
+      </symbol>
+      <symbol
+         overflow="visible"
+         id="glyph0-1"
+         style="overflow:visible">
+        <path
+           style="stroke:none"
+           d="m 1.6875,-1.515625 c 0.1875,0.03125 0.332031,0.109375 0.4375,0.234375 0.113281,0.117188 0.171875,0.261719 0.171875,0.4375 0,0.273438 -0.105469,0.480469 -0.3125,0.625 C 1.785156,-0.0703125 1.5,0 1.125,0 1,0 0.867188,-0.0078125 0.734375,-0.03125 0.597656,-0.0507812 0.457031,-0.0820312 0.3125,-0.125 l 0,-0.359375 c 0.113281,0.074219 0.238281,0.125 0.375,0.15625 0.132812,0.023437 0.273438,0.03125 0.421875,0.03125 0.257813,0 0.453125,-0.046875 0.578125,-0.140625 0.132812,-0.09375 0.203125,-0.226562 0.203125,-0.40625 0,-0.15625 -0.0625,-0.28125 -0.1875,-0.375 C 1.578125,-1.3125 1.40625,-1.359375 1.1875,-1.359375 l -0.34375,0 0,-0.28125 0.359375,0 c 0.195313,0 0.347656,-0.039063 0.453125,-0.125 0.113281,-0.09375 0.171875,-0.222656 0.171875,-0.390625 0,-0.175781 -0.058594,-0.3125 -0.171875,-0.40625 -0.105469,-0.09375 -0.261719,-0.140625 -0.46875,-0.140625 -0.117188,0 -0.234375,0.015625 -0.359375,0.046875 -0.125,0.03125 -0.265625,0.074219 -0.421875,0.125 l 0,-0.359375 C
  0.5625,-2.929688 0.707031,-2.957031 0.84375,-2.96875 0.976562,-2.988281 1.101562,-3 1.21875,-3 c 0.3125,0 0.554688,0.074219 0.734375,0.21875 0.1875,0.136719 0.28125,0.328125 0.28125,0.578125 0,0.179687 -0.054687,0.324219 -0.15625,0.4375 -0.09375,0.117187 -0.226563,0.199219 -0.390625,0.25 z m 0,0"
+           id="path12" />
+      </symbol>
+      <symbol
+         overflow="visible"
+         id="glyph0-2"
+         style="overflow:visible">
+        <path
+           style="stroke:none"
+           d="m 1.5625,-2.578125 -1.03125,1.9375 1.03125,0 0,-1.9375 z M 1.453125,-3 l 0.515625,0 0,2.359375 0.4375,0 0,0.28125 -0.4375,0 0,0.359375 -0.40625,0 0,-0.359375 -1.359375,0 0,-0.34375 L 1.453125,-3 z m 0,0"
+           id="path15" />
+      </symbol>
+      <symbol
+         overflow="visible"
+         id="glyph0-3"
+         style="overflow:visible">
+        <path
+           style="stroke:none"
+           d="m 0.453125,-3 1.59375,0 0,0.296875 -1.21875,0 0,1.109375 C 0.878906,-1.613281 0.9375,-1.625 1,-1.625 c 0.0625,-0.00781 0.117188,-0.015625 0.171875,-0.015625 0.34375,0 0.609375,0.074219 0.796875,0.21875 0.195312,0.148437 0.296875,0.34375 0.296875,0.59375 0,0.261719 -0.101563,0.464844 -0.296875,0.609375 C 1.769531,-0.0703125 1.484375,0 1.109375,0 0.984375,0 0.851562,-0.00390625 0.71875,-0.015625 0.59375,-0.0351562 0.457031,-0.0664062 0.3125,-0.109375 l 0,-0.34375 c 0.125,0.054687 0.25,0.09375 0.375,0.125 0.132812,0.023437 0.273438,0.03125 0.421875,0.03125 0.226563,0 0.410156,-0.046875 0.546875,-0.140625 0.132812,-0.09375 0.203125,-0.222656 0.203125,-0.390625 0,-0.164063 -0.070313,-0.296875 -0.203125,-0.390625 -0.136719,-0.09375 -0.320312,-0.140625 -0.546875,-0.140625 -0.117187,0 -0.230469,0.011719 -0.34375,0.03125 C 0.660156,-1.304688 0.554688,-1.28125 0.453125,-1.25 l 0,-1.75 z m 0,0"
+           id="path18" />
+      </symbol>
+      <symbol
+         overflow="visible"
+         id="glyph0-4"
+         style="overflow:visible">
+        <path
+           style="stroke:none"
+           d="m 1.359375,-1.375 c -0.179687,0 -0.324219,0.054688 -0.4375,0.15625 -0.105469,0.09375 -0.15625,0.226562 -0.15625,0.390625 0,0.167969 0.050781,0.304687 0.15625,0.40625 0.113281,0.09375 0.257813,0.140625 0.4375,0.140625 0.1875,0 0.332031,-0.046875 0.4375,-0.140625 0.113281,-0.101563 0.171875,-0.238281 0.171875,-0.40625 0,-0.164063 -0.058594,-0.296875 -0.171875,-0.390625 -0.105469,-0.101562 -0.25,-0.15625 -0.4375,-0.15625 z m 0.8125,-1.515625 0,0.40625 c -0.09375,-0.070313 -0.199219,-0.125 -0.3125,-0.15625 -0.105469,-0.039063 -0.203125,-0.0625 -0.296875,-0.0625 -0.273438,0 -0.480469,0.117187 -0.625,0.34375 -0.148438,0.21875 -0.226562,0.558594 -0.234375,1.015625 0.070313,-0.09375 0.164063,-0.160156 0.28125,-0.203125 0.125,-0.050781 0.257813,-0.078125 0.40625,-0.078125 0.300781,0 0.539063,0.074219 0.71875,0.21875 C 2.285156,-1.257812 2.375,-1.0625 2.375,-0.8125 2.375,-0.570312 2.28125,-0.375 2.09375,-0.21875 1.914062,-0.0703125 1.671875,0 1.359375,0 1.015625,0 0.75,-
 0.125 0.5625,-0.375 0.382812,-0.632812 0.296875,-1.003906 0.296875,-1.484375 0.296875,-1.953125 0.40625,-2.320312 0.625,-2.59375 0.851562,-2.863281 1.160156,-3 1.546875,-3 c 0.09375,0 0.191406,0.011719 0.296875,0.03125 0.101562,0.011719 0.210938,0.039062 0.328125,0.078125 z m 0,0"
+           id="path21" />
+      </symbol>
+      <symbol
+         overflow="visible"
+         id="glyph0-5"
+         style="overflow:visible">
+        <path
+           style="stroke:none"
+           d="m 0.34375,-3 1.9375,0 0,0.15625 L 1.1875,0 0.765625,0 l 1.03125,-2.703125 -1.453125,0 0,-0.296875 z m 0,0"
+           id="path24" />
+      </symbol>
+      <symbol
+         overflow="visible"
+         id="glyph0-6"
+         style="overflow:visible">
+        <path
+           style="stroke:none"
+           d="m 1.3125,-1.359375 c -0.1875,0 -0.339844,0.046875 -0.453125,0.140625 C 0.742188,-1.125 0.6875,-0.988281 0.6875,-0.8125 c 0,0.167969 0.054688,0.296875 0.171875,0.390625 0.113281,0.09375 0.265625,0.140625 0.453125,0.140625 0.195312,0 0.347656,-0.046875 0.453125,-0.140625 C 1.878906,-0.515625 1.9375,-0.648438 1.9375,-0.828125 1.9375,-0.992188 1.878906,-1.125 1.765625,-1.21875 1.660156,-1.3125 1.507812,-1.359375 1.3125,-1.359375 z M 0.90625,-1.515625 C 0.726562,-1.566406 0.59375,-1.648438 0.5,-1.765625 0.40625,-1.878906 0.359375,-2.03125 0.359375,-2.21875 c 0,-0.238281 0.082031,-0.425781 0.25,-0.5625 C 0.785156,-2.925781 1.019531,-3 1.3125,-3 c 0.300781,0 0.535156,0.074219 0.703125,0.21875 0.175781,0.136719 0.265625,0.324219 0.265625,0.5625 0,0.1875 -0.054688,0.339844 -0.15625,0.453125 -0.09375,0.117187 -0.226562,0.199219 -0.390625,0.25 0.1875,0.042969 0.332031,0.125 0.4375,0.25 0.113281,0.117187 0.171875,0.261719 0.171875,0.4375 0,0.273437 -0.089844,0.480469 -0.26
 5625,0.625 C 1.898438,-0.0664062 1.644531,0 1.3125,0 0.976562,0 0.722656,-0.0664062 0.546875,-0.203125 0.367188,-0.347656 0.28125,-0.554688 0.28125,-0.828125 c 0,-0.175781 0.050781,-0.320313 0.15625,-0.4375 0.113281,-0.125 0.269531,-0.207031 0.46875,-0.25 z M 0.765625,-2.1875 c 0,0.167969 0.046875,0.304688 0.140625,0.40625 C 1,-1.6875 1.132812,-1.640625 1.3125,-1.640625 1.488281,-1.640625 1.625,-1.6875 1.71875,-1.78125 1.820312,-1.882812 1.875,-2.019531 1.875,-2.1875 1.875,-2.351562 1.820312,-2.484375 1.71875,-2.578125 1.625,-2.671875 1.488281,-2.71875 1.3125,-2.71875 1.132812,-2.71875 1,-2.671875 0.90625,-2.578125 0.8125,-2.484375 0.765625,-2.351562 0.765625,-2.1875 z m 0,0"
+           id="path27" />
+      </symbol>
+      <symbol
+         overflow="visible"
+         id="glyph0-7"
+         style="overflow:visible">
+        <path
+           style="stroke:none"
+           d="m 0.453125,-0.109375 0,-0.40625 c 0.101563,0.074219 0.207031,0.132813 0.3125,0.171875 0.101563,0.03125 0.207031,0.046875 0.3125,0.046875 0.269531,0 0.472656,-0.109375 0.609375,-0.328125 0.144531,-0.226562 0.226562,-0.570312 0.25,-1.03125 C 1.851562,-1.5625 1.75,-1.488281 1.625,-1.4375 1.507812,-1.394531 1.378906,-1.375 1.234375,-1.375 c -0.304687,0 -0.542969,-0.070312 -0.71875,-0.21875 -0.167969,-0.144531 -0.25,-0.34375 -0.25,-0.59375 0,-0.238281 0.085937,-0.429688 0.265625,-0.578125 C 0.71875,-2.921875 0.960938,-3 1.265625,-3 c 0.351563,0 0.617187,0.132812 0.796875,0.390625 0.1875,0.25 0.28125,0.625 0.28125,1.125 C 2.34375,-1.035156 2.226562,-0.675781 2,-0.40625 1.78125,-0.132812 1.476562,0 1.09375,0 0.988281,0 0.882812,-0.0078125 0.78125,-0.03125 0.675781,-0.0507812 0.566406,-0.078125 0.453125,-0.109375 z M 1.265625,-1.625 c 0.1875,0 0.332031,-0.046875 0.4375,-0.140625 0.101563,-0.101563 0.15625,-0.238281 0.15625,-0.40625 0,-0.164063 -0.054687,-0.296875 -0.15
 625,-0.390625 -0.105469,-0.101562 -0.25,-0.15625 -0.4375,-0.15625 -0.179687,0 -0.324219,0.054688 -0.4375,0.15625 -0.105469,0.09375 -0.15625,0.226562 -0.15625,0.390625 0,0.167969 0.050781,0.304687 0.15625,0.40625 0.113281,0.09375 0.257813,0.140625 0.4375,0.140625 z m 0,0"
+           id="path30" />
+      </symbol>
+      <symbol
+         overflow="visible"
+         id="glyph0-8"
+         style="overflow:visible">
+        <path
+           style="stroke:none"
+           d="m 0.515625,-0.296875 0.671875,0 0,-2.328125 -0.734375,0.140625 0,-0.375 L 1.171875,-3 l 0.40625,0 0,2.703125 0.671875,0 L 2.25,0 0.515625,0 l 0,-0.296875 z m 0,0"
+           id="path33" />
+      </symbol>
+      <symbol
+         overflow="visible"
+         id="glyph0-9"
+         style="overflow:visible">
+        <path
+           style="stroke:none"
+           d="m 1.3125,-2.71875 c -0.210938,0 -0.367188,0.105469 -0.46875,0.3125 -0.105469,0.199219 -0.15625,0.507812 -0.15625,0.921875 0,0.398437 0.050781,0.699219 0.15625,0.90625 0.101562,0.199219 0.257812,0.296875 0.46875,0.296875 0.21875,0 0.378906,-0.097656 0.484375,-0.296875 0.101563,-0.207031 0.15625,-0.507813 0.15625,-0.90625 0,-0.414063 -0.054687,-0.722656 -0.15625,-0.921875 C 1.691406,-2.613281 1.53125,-2.71875 1.3125,-2.71875 z M 1.3125,-3 c 0.34375,0 0.601562,0.132812 0.78125,0.390625 0.175781,0.25 0.265625,0.625 0.265625,1.125 0,0.480469 -0.089844,0.851563 -0.265625,1.109375 C 1.914062,-0.125 1.65625,0 1.3125,0 0.976562,0 0.71875,-0.125 0.53125,-0.375 0.351562,-0.632812 0.265625,-1.003906 0.265625,-1.484375 c 0,-0.5 0.085937,-0.875 0.265625,-1.125 C 0.71875,-2.867188 0.976562,-3 1.3125,-3 z m 0,0"
+           id="path36" />
+      </symbol>
+      <symbol
+         overflow="visible"
+         id="glyph0-10"
+         style="overflow:visible">
+        <path
+           style="stroke:none"
+           d="m 0.796875,-0.296875 1.421875,0 0,0.296875 -1.921875,0 0,-0.296875 c 0.15625,-0.15625 0.367187,-0.367187 0.640625,-0.640625 0.269531,-0.28125 0.4375,-0.460938 0.5,-0.546875 0.132812,-0.144531 0.226562,-0.269531 0.28125,-0.375 0.050781,-0.101563 0.078125,-0.203125 0.078125,-0.296875 0,-0.15625 -0.058594,-0.285156 -0.171875,-0.390625 -0.117188,-0.101563 -0.261719,-0.15625 -0.4375,-0.15625 -0.125,0 -0.261719,0.023437 -0.40625,0.0625 C 0.632812,-2.597656 0.484375,-2.53125 0.328125,-2.4375 l 0,-0.390625 c 0.15625,-0.0625 0.304687,-0.101563 0.453125,-0.125 C 0.925781,-2.984375 1.054688,-3 1.171875,-3 c 0.3125,0 0.5625,0.078125 0.75,0.234375 0.1875,0.15625 0.28125,0.367187 0.28125,0.625 0,0.117187 -0.027344,0.230469 -0.078125,0.34375 C 2.082031,-1.691406 2,-1.5625 1.875,-1.40625 1.84375,-1.375 1.734375,-1.265625 1.546875,-1.078125 c -0.179687,0.1875 -0.429687,0.449219 -0.75,0.78125 z m 0,0"
+           id="path39" />
+      </symbol>
+    </g>
+  </defs>
+  <g
+     id="surface0"
+     transform="translate(-10,-10)">
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1"
+       d="m 75.5,50.5 c 0,13.808594 -11.191406,25 -25,25 -13.808594,0 -25,-11.191406 -25,-25 0,-13.808594 11.191406,-25 25,-25 13.808594,0 25,11.191406 25,25"
+       id="path42" />
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1"
+       d="m 73,50.5 2.5,0"
+       id="path44" />
+    <g
+       style="fill:#000000;fill-opacity:1"
+       id="g46">
+      <use
+         xlink:href="#glyph0-1"
+         x="68.25"
+         y="52.5"
+         id="use48"
+         width="200"
+         height="200" />
+    </g>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1"
+       d="M 69.984375,61.75 72.152344,63"
+       id="path50" />
+    <g
+       style="fill:#000000;fill-opacity:1"
+       id="g52">
+      <use
+         xlink:href="#glyph0-2"
+         x="65.738281"
+         y="61.875"
+         id="use54"
+         width="200"
+         height="200" />
+    </g>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1"
+       d="M 61.75,69.984375 63,72.152344"
+       id="path56" />
+    <g
+       style="fill:#000000;fill-opacity:1"
+       id="g58">
+      <use
+         xlink:href="#glyph0-3"
+         x="58.875"
+         y="68.738281"
+         id="use60"
+         width="200"
+         height="200" />
+    </g>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1"
+       d="m 50.5,73 0,2.5"
+       id="path62" />
+    <g
+       style="fill:#000000;fill-opacity:1"
+       id="g64">
+      <use
+         xlink:href="#glyph0-4"
+         x="49.5"
+         y="71.25"
+         id="use66"
+         width="200"
+         height="200" />
+    </g>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1"
+       d="M 39.25,69.984375 38,72.152344"
+       id="path68" />
+    <g
+       style="fill:#000000;fill-opacity:1"
+       id="g70">
+      <use
+         xlink:href="#glyph0-5"
+         x="40.125"
+         y="68.738281"
+         id="use72"
+         width="200"
+         height="200" />
+    </g>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1"
+       d="M 31.015625,61.75 28.847656,63"
+       id="path74" />
+    <g
+       style="fill:#000000;fill-opacity:1"
+       id="g76">
+      <use
+         xlink:href="#glyph0-6"
+         x="33.261719"
+         y="61.875"
+         id="use78"
+         width="200"
+         height="200" />
+    </g>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1"
+       d="m 28,50.5 -2.5,0"
+       id="path80" />
+    <g
+       style="fill:#000000;fill-opacity:1"
+       id="g82">
+      <use
+         xlink:href="#glyph0-7"
+         x="30.75"
+         y="52.5"
+         id="use84"
+         width="200"
+         height="200" />
+    </g>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1"
+       d="M 31.015625,39.25 28.847656,38"
+       id="path86" />
+    <g
+       style="fill:#000000;fill-opacity:1"
+       id="g88">
+      <use
+         xlink:href="#glyph0-8"
+         x="31.261719"
+         y="43.125"
+         id="use90"
+         width="200"
+         height="200" />
+      <use
+         xlink:href="#glyph0-9"
+         x="34.261719"
+         y="43.125"
+         id="use92"
+         width="200"
+         height="200" />
+    </g>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1"
+       d="M 39.25,31.015625 38,28.847656"
+       id="path94" />
+    <g
+       style="fill:#000000;fill-opacity:1"
+       id="g96">
+      <use
+         xlink:href="#glyph0-8"
+         x="38.125"
+         y="36.261719"
+         id="use98"
+         width="200"
+         height="200" />
+      <use
+         xlink:href="#glyph0-8"
+         x="41.125"
+         y="36.261719"
+         id="use100"
+         width="200"
+         height="200" />
+    </g>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1"
+       d="m 50.5,28 0,-2.5"
+       id="path102" />
+    <g
+       style="fill:#000000;fill-opacity:1"
+       id="g104">
+      <use
+         xlink:href="#glyph0-8"
+         x="47.5"
+         y="33.75"
+         id="use106"
+         width="200"
+         height="200" />
+      <use
+         xlink:href="#glyph0-10"
+         x="50.5"
+         y="33.75"
+         id="use108"
+         width="200"
+         height="200" />
+    </g>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1"
+       d="M 61.75,31.015625 63,28.847656"
+       id="path110" />
+    <g
+       style="fill:#000000;fill-opacity:1"
+       id="g112">
+      <use
+         xlink:href="#glyph0-8"
+         x="58.875"
+         y="36.261719"
+         id="use114"
+         width="200"
+         height="200" />
+    </g>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-opacity:1"
+       d="M 69.984375,39.25 72.152344,38"
+       id="path116" />
+    <g
+       style="fill:#000000;fill-opacity:1"
+       id="g118">
+      <use
+         xlink:href="#glyph0-10"
+         x="65.738281"
+         y="43.125"
+         id="use120"
+         width="200"
+         height="200" />
+    </g>
+  </g>
+</svg>
diff --git a/data/game-graphics/family.svg b/data/game-graphics/family.svg
new file mode 100644
index 0000000..8622242
--- /dev/null
+++ b/data/game-graphics/family.svg
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="83.833748"
+   height="102.86875"
+   id="svg4138"
+   version="1.1"
+   inkscape:version="0.47 r22583"
+   sodipodi:docname="faceless_family.svg">
+  <defs
+     id="defs4140">
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 526.18109 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="744.09448 : 526.18109 : 1"
+       inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+       id="perspective4146" />
+    <inkscape:perspective
+       id="perspective4114"
+       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+       inkscape:vp_z="1 : 0.5 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_x="0 : 0.5 : 1"
+       sodipodi:type="inkscape:persp3d" />
+    <inkscape:perspective
+       id="perspective4203"
+       inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+       inkscape:vp_z="1 : 0.5 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_x="0 : 0.5 : 1"
+       sodipodi:type="inkscape:persp3d" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="5.6"
+     inkscape:cx="19.05973"
+     inkscape:cy="51.058929"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     inkscape:window-width="1440"
+     inkscape:window-height="853"
+     inkscape:window-x="0"
+     inkscape:window-y="24"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata4143">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-355.94027,-734.14209)">
+    <path
+       d="m 366.47027,761.27709 -4.455,-5.265 4.455,-13.365 7.29,-2.025 5.66875,1.62 4.455,3.645 2.43,5.265 -0.405,4.86 -1.215,4.05 4.05,2.025 1.215,6.885 2.43,4.05 3.645,2.43 10.935,-15.39 -3.645,-1.62 -2.025,-3.645 4.05,-4.455 1.215,-5.67 5.67,-6.885 6.885,-3.645 8.91,0.405 4.86,3.24 4.86,5.67 -0.405,6.885 -1.215,5.67 3.645,4.86 -6.48,3.24 0.405,14.175 0.81,8.91 0.81,10.93375 -2.025,13.77 0,9.315 -7.29,2.025 -0.81,10.125 -8.91,1.62 -6.075,0.405 -11.745,-0.405 -8.1,0 -7.29,1.62 -8.90875,0.405 -6.48,-5.67 -9.315,-1.62 -2.025,-17.82 2.025,-9.315 -2.43,-11.34 2.025,-11.33875 2.835,-11.745 5.67,-6.885"
+       style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3477" />
+    <path
+       d="m 377.81777,831.77334 -5.1175,-1.895 2.47875,-12.97625 1.9825,-1.23875 c 0.65625,0 0.65625,0 0.65625,0 l 3.23625,0.5675 0,1.91 -1.91,14.37625 -1.32625,-0.74375"
+       style="fill:#949494;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3479" />
+    <path
+       d="m 383.06652,830.51959 0.65625,-14.3025 1.9825,-0.58375 c 0.65625,-0.74375 0.65625,-0.74375 0.65625,-0.74375 l 4.46125,1.3275 0,14.3025 -7.75625,0.74375 0,-0.74375"
+       style="fill:#949494;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3481" />
+    <path
+       d="m 411.64277,830.51959 -2.63875,0 5.86125,-18.85125 2.65375,1.32625 -2.65375,18.26875 c -0.65625,0 -0.65625,0 -0.65625,0 l -2.56625,-0.74375"
+       style="fill:#cbcbcb;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3483" />
+    <path
+       d="m 417.51902,830.51959 1.23875,-8.515 4.62125,-1.23875 0,9.75375 -5.86,0"
+       style="fill:#d6d6d6;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3485" />
+    <path
+       d="m 392.22277,830.51959 0.5825,-7.77125 7.17375,0 0.58375,7.77125 -8.34,0"
+       style="fill:#d6d6d6;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3487" />
+    <path
+       d="m 402.48652,829.83459 c 0,-5.205 -1.16625,-10.99375 1.4,-16.855 l 5.7875,0.65625 c -1.32625,5.87625 -2.565,9.75375 -3.30875,14.95875 l -2.47875,1.24 -1.4,0"
+       style="fill:#cbcbcb;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3489" />
+    <path
+       d="m 368.85152,828.62459 -5.86125,-1.3275 -1.415,-6.53125 0,-18.25375 4.6375,-2.47875 c -0.74375,4.46125 -0.74375,8.34 -1.3275,12.97625 0.58375,1.23875 0.58375,1.23875 0.58375,1.23875 l 4.62125,5.2775 0.67125,5.1325 0,4.62125 -1.91,-0.655"
+       style="fill:#d2d2d2;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3491" />
+    <path
+       d="m 419.50152,820.09459 0.495,-6.44375 1.98375,4.46125 c -0.58375,1.4 -0.58375,1.4 -0.58375,1.4 l -1.895,0.5825"
+       style="fill:#969696;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3493" />
+    <path
+       d="m 396.68402,819.51209 1.4,-1.98375 0,-15.62875 7.66875,-11.06625 c 3.23625,0.65625 5.21875,1.3125 8.44125,0.65625 1.3125,1.23875 1.3125,1.23875 1.3125,1.23875 0.58375,1.415 0.58375,1.415 0.58375,1.415 l 8.51375,2.47875 c 1.4,5.86 1.9825,9.82625 0,15.03125 l -5.86125,0 -1.91,-2.63875 -5.86125,1.9825 1.80875,-5.205 8.60125,0.65625 -1.39875,-1.56 -7.3625,-0.83125 -2.975,2.72625 -5.2925,-2.81375 0.0875,-3.965 c -0.5825,-0.74375 -0.5825,-0.74375 -0.5825,-0.74375 -1.4,1.32625 -1.4,1.32625 -1.4,1.32625 l -1.16625,4.54875 3.805,0.74375 2.65375,3.135 -3.8925,0.74375 c -0.74375,0.5825 -0.74375,0.5825 -0.74375,0.5825 -2.56625,2.63875 -3.135,4.535 -3.135,7.1875 l -1.895,1.98375 -1.4,0"
+       style="fill:#969696;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3495" />
+    <path
+       d="m 424.58902,818.88459 0,-3.965 c 0.65625,0 0.65625,0 0.65625,0 l 3.2375,-3.2225 -0.58375,-12.4075 2.56625,-1.895 0.65625,20.74625 -6.5325,1.4 0,-0.65625"
+       style="fill:#dbdbdb;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3497" />
+    <path
+       d="m 370.06152,816.88709 -2.63875,-2.63875 1.39875,-12.32 3.2225,-5.2925 2.56625,0 c 0.5825,0 0.5825,0 0.5825,0 l 1.98375,-5.77375 2.63875,-1.32625 5.875,3.96625 4.55,0.655 c 1.9825,-1.39875 1.31125,1.98375 4.53375,3.2375 l 1.32625,13.63125 -0.655,5.205 -3.2225,-1.9825 -1.9825,-1.9825 -5.2925,0 c 0,-0.58375 0,-0.58375 0,-0.58375 l 3.3825,-5.205 5.13125,2.56625 -0.67,-1.91 -1.24,-2.63875 -3.22125,0 c -0.74375,0.65625 -0.74375,0.65625 -0.74375,0.65625 l -4.54875,3.8925 c -1.24,0 -1.24,0 -1.24,0 l -5.205,-1.23875 -2.63875,1.23875 0,-4.54875 c -0.65625,0 -0.65625,0 -0.65625,0 l -1.25375,3.87875 0.67125,3.30875 4.46125,-1.895 4.62125,3.2225 -4.62125,0 -2.56625,1.23875 -2.56625,3.31 -1.9825,-0.67125"
+       style="fill:#d5d5d5;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3499" />
+    <path
+       d="m 359.65152,801.22834 c -1.3275,-9.75375 0,-19.47875 1.895,-29.9025 l 4.6225,-6.605 c 4.54875,-0.5825 9.01,-1.91 13.64625,-1.91 1.23875,-0.56875 1.23875,-0.56875 1.23875,-0.56875 l 5.2925,1.24 1.24,9.17 -3.15,1.24 c -2.63875,0.74375 -3.965,3.965 -5.2925,5.86 l 0,6.5325 -1.9825,2.55125 c -1.23875,0 -1.23875,0 -1.23875,0 l -5.205,-3.2075 -2.63875,0.65625 -1.91,1.96875 2.6525,0 c 0.58375,0 0.58375,0 0.58375,0 l 5.205,1.9825 -1.32625,4.47625 -3.2225,-1.98375 -9.0975,8.5 -1.3125,0"
+       style="fill:#d2d2d2;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3501" />
+    <path
+       d="m 426.57277,795.36709 -6.605,-1.23875 c -1.23875,-0.65625 -1.23875,-0.65625 -1.23875,-0.65625 l 1.23875,-3.2225 c 0.74375,0 0.74375,0 0.74375,0 l 3.2225,-0.7425 4.54875,1.9825 -1.24,-1.9825 1.98375,-4.535 -2.65375,-3.2225 c 0,-0.67 0,-0.67 0,-0.67 l -1.98375,-7.84375 -3.22125,-4.54875 -2.63875,-2.56625 -7.77125,-1.4 c -0.74375,0.74375 -0.74375,0.74375 -0.74375,0.74375 -1.23875,0.65625 -1.23875,0.65625 -1.23875,0.65625 l -2.65375,4.63625 -4.37375,7.1 -0.65625,6.5325 1.15125,1.91 1.4,1.9675 -3.87875,4.46125 0,-2.47875 -1.88,-3.3825 0.56875,-7.77 13.54375,-21.49125 4.6225,2.65375 13.06375,3.2225 c 1.23875,9.17 3.8925,18.2675 1.9825,27.33625 l -3.96625,5.2925 -1.32625,-0.74375"
+       style="fill:#dbdbdb;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3503" />
+    <path
+       d="m 394.20527,794.74084 -1.4,-3.2225 4.54875,-1.9825 -1.90875,5.205 -1.24,0"
+       style="fill:#d2d2d2;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3505" />
+    <path
+       d="m 386.94527,791.48959 0,0 -5.87625,-3.86375 -0.58375,-5.205 c 1.98375,-3.31 4.4625,-5.87625 7.115,-7.2025 l 3.2225,-0.56875 5.2925,3.2225 0.56875,6.53125 -3.2225,3.86375 -5.1175,3.2225 -1.39875,0"
+       style="fill:#f9f9f9;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3507" />
+    <path
+       d="m 410.24277,789.50709 -5.13125,-3.2075 -0.65625,-2.56625 2.63875,-8.515 1.91,-1.32625 8.515,1.32625 c 1.9825,3.87875 0.5675,7.1875 1.23875,10.41 l -1.91,3.2075 -5.205,1.41375 -1.4,-0.7425"
+       style="fill:#f9f9f9;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3509" />
+    <path
+       d="m 421.39652,786.31334 -0.67,-9.17 -5.86125,-5.1175 -7.115,0 2.47875,-4.63625 4.63625,0 6.53125,4.63625 c 1.9825,3.22125 1.24,7.1 1.9825,10.41 l 3.2225,4.46125 -5.205,0 0,-0.58375"
+       style="fill:#eeeeee;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3511" />
+    <path
+       d="m 429.24027,760.28834 0,0 c 1.24,-5.2925 1.91,-9.75375 0,-14.3025 l -3.22125,-3.2225 -10.4975,0.58375 c -0.65625,0.65625 -0.65625,0.65625 -0.65625,0.65625 -3.89375,3.8775 -2.65375,7.115 -3.2225,10.9925 l -7.1875,1.98375 c 0,-1.24 0,-1.24 0,-1.24 l 3.8775,-3.2225 1.3275,-6.53125 c 3.965,-7.85875 10.3225,-8.515 16.35875,-8.515 l 7.11375,4.55 c 1.24,5.205 0,9.75375 -1.23875,14.95875 l 3.135,1.9825 -4.54875,1.895 -1.24,-0.56875"
+       style="fill:#c5c5c5;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3513" />
+    <path
+       d="m 369.43402,759.60334 -3.965,-3.87875 c 0,-0.7425 0,-0.7425 0,-0.7425 l 3.965,-10.99375 7.77125,-0.67 4.63625,3.30875 1.24,2.47875 c 0,0.74375 0,0.74375 0,0.74375 0.65625,1.23875 0.65625,1.23875 0.65625,1.23875 l -3.2225,5.2925 c -2.65375,1.24 -5.87625,4.4625 -9.17125,3.89375 l -1.91,-0.67125"
+       style="fill:#f9f9f9;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3515" />
+    <path
+       d="m 417.51902,757.62084 -2.65375,-0.65625 -0.65625,-7.115 3.31,-4.62125 5.86,-0.58375 3.89375,2.56625 c 0,0.65625 0,0.65625 0,0.65625 0.65625,1.23875 0.65625,1.23875 0.65625,1.23875 l 0.5825,3.3825 -3.2225,5.1325 -6.53125,0.74375 -1.23875,-0.74375"
+       style="fill:#f9f9f9;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3517" />
+  </g>
+</svg>
diff --git a/data/games.xml b/data/games.xml
new file mode 100644
index 0000000..22f3e4c
--- /dev/null
+++ b/data/games.xml
@@ -0,0 +1,49 @@
+<!---
+
+		This is a collection of games definitions for gbrainy. This work is licensed under GPL 2.0 or higher license.
+		This the same license that gbrainy package.
+
+		Authors:
+			Jordi Mas <jmas at softcatala dot org>
+
+		TODO:
+			* Mouse sensitive areas
+			* Answer regular expression + patterns
+-->
+<games>
+
+	<game>
+		<_name>Clock Rotation</_name>
+		<type>Logic</type>
+		<difficulty>All</difficulty>
+		<_tip>Think of the items used in the game.</_tip>
+		<_rationale>Every hour rotates 360 degrees.</_rationale>
+		<svg file = "clock.svg" x = "0.25" y = "0.25" width = "0.5" height = "0.5"/>
+		<_question>How many degrees rotates the minute hand of a clock in 2 hours 40 minutes?</_question>
+		<answer>960</answer>
+		<_question>How many degrees rotates the minute hand of a clock in 2 hours 30 minutes?</_question>
+		<answer>900</answer>
+		<_question>How many degrees rotates the minute hand of a clock in 1 hours 20 minutes?</_question>
+		<answer>480</answer>
+		<_question>How many degrees rotates the minute hand of a clock in 1 hours 40 minutes?</_question>
+		<answer>600</answer>
+	</game>
+
+	<game>
+		<_name>Family relations</_name>
+		<type>Logic</type>
+		<difficulty>All</difficulty>
+		<svg file = "family.svg" x = "0.25" y = "0.25" width = "0.5" height = "0.5"/>
+		<variant>
+			<_question>A boy has as many brothers as he has sisters. Each brother has twice as many sisters as brothers. How many brothers and sisters the family has in total?</_question>
+			<_answer>7</_answer>
+			<_rationale>He has tree brothers and four sisters.</_rationale>
+		</variant>
+		<variant>
+			<_question>John's age is nowadays 5 times his son's age. 4 years ago John was 9 times older than his son. What's is John's age nowadays?</_question>
+			<_answer>40</_answer>
+		</variant>
+
+	</game>
+
+</games>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]