[gbrainy/gbrainy_16x] Horse race logic puzzle



commit 1f58e142e8919c61174cd94fec6873317e916daf
Author: Jordi Mas <jmas softcatala org>
Date:   Sat Sep 18 10:31:50 2010 +0200

    Horse race logic puzzle

 data/Makefile.am                             |    4 +-
 data/game-graphics/horses_men.svg            |  151 ++++++++++++++++++++++++++
 data/games.xml                               |   20 ++++
 src/Clients/Classical/Dialogs/AboutDialog.cs |    2 +-
 tools/GameXmlGetString.cs                    |    8 ++
 5 files changed, 183 insertions(+), 2 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index f958ec5..1afa1da 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -51,7 +51,8 @@ analogies_DATA = \
 	game-graphics/father_son.svg \
 	game-graphics/money.svg \
 	game-graphics/box.svg \
-	game-graphics/dartboard.svg
+	game-graphics/dartboard.svg \
+	game-graphics/horses_men.svg
 	
 
 install-data-local:
@@ -74,6 +75,7 @@ install-data-local:
 	$(INSTALL_DATA) $(srcdir)/game-graphics/money.svg $(DESTDIR)$(images)/money.svg
 	$(INSTALL_DATA) $(srcdir)/game-graphics/box.svg $(DESTDIR)$(images)/box.svg
 	$(INSTALL_DATA) $(srcdir)/game-graphics/dartboard.svg $(DESTDIR)$(images)/dartboard.svg
+	$(INSTALL_DATA) $(srcdir)/game-graphics/horses_men.svg $(DESTDIR)$(images)/horses_men.svg
 
 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
 
diff --git a/data/game-graphics/horses_men.svg b/data/game-graphics/horses_men.svg
new file mode 100644
index 0000000..8eeb7a7
--- /dev/null
+++ b/data/game-graphics/horses_men.svg
@@ -0,0 +1,151 @@
+<?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";
+   height="500"
+   id="svg1"
+   inkscape:version="0.47 r22583"
+   sodipodi:docname="horses_men.svg"
+   sodipodi:version="0.32"
+   width="500"
+   inkscape:output_extension="org.inkscape.output.svg.inkscape"
+   version="1.0">
+  <defs
+     id="defs3">
+    <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="perspective12" />
+    <inkscape:perspective
+       id="perspective2997"
+       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="perspective3032"
+       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="perspective3054"
+       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="perspective3133"
+       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="perspective3155"
+       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="perspective3177"
+       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="perspective3199"
+       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="perspective3221"
+       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
+     bordercolor="#666666"
+     borderopacity="1.0"
+     id="base"
+     inkscape:cx="411.88985"
+     inkscape:cy="166.23485"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:window-height="694"
+     inkscape:window-width="1152"
+     inkscape:window-x="0"
+     inkscape:window-y="52"
+     inkscape:zoom="0.6139821"
+     pagecolor="#ffffff"
+     showgrid="false"
+     snaptogrid="false"
+     snaptoguides="false"
+     inkscape:current-layer="svg1"
+     inkscape:window-maximized="1" />
+  <path
+     style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
+     sodipodi:nodetypes="cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccscccccccccccccccc"
+     id="path720"
+     d="m 386.36065,218.20909 c -2.36034,2.54125 -3.01395,5.37865 -4.21714,5.66675 -1.92808,-0.42154 -5.3396,-0.60199 -7.31444,0.84029 -0.43733,1.29541 0.88557,0.14038 3.19231,1.52884 -2.18552,1.87459 -3.12078,-0.73331 -5.85082,2.88957 -0.97648,1.28279 0.42205,-0.0476 2.39034,0.74514 -1.70983,2.17945 -2.36765,-0.55613 -5.38656,0.96041 -3.2696,2.25599 -3.47326,3.4271 -6.92528,3.59671 -0.71621,0.39147 1.02162,1.12789 1.92258,1.05236 -2.87764,1.38207 -8.03239,6.25944 -4.06438,5.34522 2.27399,-1.85976 2.80154,-1.37983 4.06607,-0.77122 -0.70392,1.79241 -2.62001,0.49172 -4.12121,1.96279 -2.75595,1.38678 -1.92878,3.05444 -6.37252,3.31799 -2.77235,0.57752 0.63829,1.5862 1.19115,2.5183 -2.74348,0.42978 -5.37283,3.84195 -4.15918,3.81849 2.13618,-1.35158 4.13921,0.30597 6.39733,-1.83054 -2.84541,3.25389 -8.07158,5.59983 -12.53125,5.13082 -5.17962,0.68731 -10.93206,-1.00305 -16.03156,-3.58725 -7.91454,-3.744 -12.68112,-5.88905 -18.89692,-6.67209 -6.93078,-0.42045 -11.72035,1.29236 -16.9
 5461,5.34355 -2.19453,-0.71785 -3.29394,-1.31667 -6.67003,-1.56487 -6.68649,-0.26789 -12.62129,2.82536 -16.69461,8.6406 -3.95509,3.78929 -6.42706,12.78345 -6.67317,16.34423 -1.0302,4.35803 -1.03511,8.59836 -6.63204,15.3864 -3.83637,4.79914 -9.32867,7.07923 -8.53207,14.75623 -0.15811,1.90925 0.54946,4.41024 3.14633,2.90756 1.89679,-0.35275 8.53572,-7.07996 10.06667,-9.63803 3.57354,-5.64525 7.99739,-12.5303 10.60404,-19.6086 1.93001,-4.82259 2.26364,-5.81773 3.44416,-12.74689 0.99442,-4.83171 5.00828,-10.24011 12.16817,-8.65398 -0.96803,1.01269 -1.38504,1.80482 -2.37868,3.57559 -4.33428,10.26955 -1.8783,18.17339 1.42469,22.13751 -0.17457,5.78487 -4.56068,8.10569 -8.21836,7.99597 -2.87362,-0.12015 -7.54373,-0.49978 -7.82303,5.22759 -0.45319,5.73536 1.11885,7.60571 0.68899,16.26443 -0.11939,2.94455 -3.90659,11.65684 -0.24742,13.83434 0.0168,1.53899 -3.046,0.94071 -4.30694,1.07737 -2.48575,-0.34185 -4.29807,0.33174 -4.33858,3.73737 -0.57987,2.4052 -3.16722,5.57052 -2.71576,8.045
 48 6.28401,-0.82915 12.50844,-3.29856 16.50305,-9.32192 2.0316,-5.5201 1.97329,-17.02741 2.52,-24.56004 1.25335,-5.28051 7.96198,-2.58894 11.19452,-2.50925 3.82718,-0.0864 6.40735,-2.03902 9.96151,-1.07798 -1.32164,2.1664 -1.65214,2.83431 -3.58713,5.68459 -2.48136,3.54552 -4.01031,7.41197 0.47384,9.32451 5.87702,2.39673 9.87771,6.11777 14.25778,10.68305 5.34951,6.54843 6.53517,12.34804 7.62566,11.93876 1.33186,1.1544 3.62756,-0.73988 3.74211,2.67544 -0.16497,3.63391 4.62554,3.61497 6.35686,5.05052 1.33493,-0.0907 4.77214,2.63666 4.37128,-1.0215 0.9627,-6.75887 -5.95558,-10.66807 -9.09891,-15.28471 -4.74578,-5.62114 -9.15707,-10.11678 -14.41216,-15.08509 -1.65411,-1.52829 -1.76475,-4.18782 0.0663,-5.58719 5.90435,-5.25615 6.42936,-12.58582 11.04672,-17.17446 3.20002,0.94247 7.03725,3.74804 11.245,4.94488 6.34094,1.76953 12.57033,5.09364 19.27232,4.48245 4.64812,-0.38623 -2.56281,9.75097 -3.2553,14.24204 1.01847,4.61451 0.24878,12.61773 -0.79816,16.90622 -2.55105,5.19247 -3.61
 436,8.55029 -6.60677,12.86765 -2.41468,5.00024 5.58323,2.94281 3.93745,7.15117 -1.59649,2.31678 -0.56035,2.64218 1.81277,3.73555 2.67905,0.86797 6.3366,3.25331 8.98334,3.98963 3.53315,-4.2742 -6.12769,-9.09598 -5.41791,-13.8475 -0.41345,-4.76081 2.22045,-8.86157 2.97223,-13.43441 2.91275,-7.09291 6.14058,-13.60442 8.72502,-20.86143 2.12388,-4.24488 3.49719,-9.74686 7.10043,-12.62471 4.3896,-2.18238 10.99491,2.16113 16.17644,4.46993 1.58901,0.61422 6.97531,1.80832 5.09649,4.08643 -5.3822,2.27181 -9.88272,7.71865 -15.35158,9.65759 -1.58703,0.19738 -2.24818,0.60201 -2.21873,3.36537 -2.62774,0.56496 -3.9032,-2.51381 -6.23726,-3.52852 -3.03446,0.878 -5.69602,5.5078 -6.68871,8.19789 -1.35941,1.94913 5.133,2.37087 6.72812,2.18585 3.68438,-0.005 6.02347,-0.58116 7.65428,-1.16754 2.63797,-1.0692 4.99839,-3.79391 7.14014,-4.88379 6.03669,-3.82778 13.70796,-8.72404 18.73443,-14.08545 1.73528,-1.96512 2.98344,-4.84791 -0.25322,-6.91698 -2.95269,-2.88557 -7.81981,-6.31476 -12.09496,-8.46
 99 -2.37846,-1.69635 -2.90341,-1.47847 -5.96636,-3.93525 2.01266,-2.75899 2.48542,-9.70807 2.77976,-13.00145 3.16536,-5.35717 4.43028,-12.39207 7.14701,-19.46586 2.83881,1.09616 7.15238,1.73074 10.10717,1.12227 4.93816,-0.15424 7.54921,7.62346 12.82402,3.64403 3.57456,-3.56635 -4.33893,-3.50106 -3.47606,-5.33563 2.00633,-2.61467 4.4756,2.66302 6.32357,2.08955 2.33535,-1.07695 1.9027,-5.88329 -0.96038,-7.69716 -2.98702,-3.44302 -9.92061,-8.78041 -10.66398,-10.53296 -1.06263,-3.8805 -11.78375,-10.44131 -14.40291,-12.97168 -1.20163,-2.6833 -0.14148,-5.21506 -1.18558,-7.78779 -0.63412,-0.63606 -2.10843,-0.7887 -2.84985,0.10035 z" />
+  <path
+     style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
+     sodipodi:nodetypes="cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccscccccccccccccccc"
+     id="path720-1"
+     d="m 407.61011,339.68987 c -2.36034,2.54125 -3.01395,5.37865 -4.21714,5.66675 -1.92808,-0.42154 -5.3396,-0.60199 -7.31444,0.84029 -0.43733,1.29541 0.88557,0.14038 3.19231,1.52884 -2.18552,1.87459 -3.12078,-0.73331 -5.85082,2.88957 -0.97648,1.28279 0.42205,-0.0476 2.39034,0.74514 -1.70983,2.17945 -2.36765,-0.55613 -5.38656,0.96041 -3.2696,2.25599 -3.47326,3.4271 -6.92528,3.59671 -0.71621,0.39147 1.02162,1.12789 1.92258,1.05236 -2.87764,1.38207 -8.03239,6.25944 -4.06438,5.34522 2.27399,-1.85976 2.80154,-1.37983 4.06607,-0.77122 -0.70392,1.79241 -2.62001,0.49172 -4.12121,1.96279 -2.75595,1.38678 -1.92878,3.05444 -6.37252,3.31799 -2.77235,0.57752 0.63829,1.5862 1.19115,2.5183 -2.74348,0.42978 -5.37283,3.84195 -4.15918,3.81849 2.13618,-1.35158 4.13921,0.30597 6.39733,-1.83054 -2.84541,3.25389 -8.07158,5.59983 -12.53125,5.13082 -5.17962,0.68731 -10.93206,-1.00305 -16.03156,-3.58725 -7.91454,-3.744 -12.68112,-5.88905 -18.89692,-6.67209 -6.93078,-0.42045 -11.72035,1.29236 -16.9
 5461,5.34355 -2.19453,-0.71785 -3.29394,-1.31667 -6.67003,-1.56487 -6.68649,-0.26789 -12.62129,2.82536 -16.69461,8.6406 -3.95509,3.78929 -6.42706,12.78345 -6.67317,16.34423 -1.0302,4.35803 -1.03511,8.59836 -6.63205,15.3864 -3.83637,4.79914 -9.32867,7.07923 -8.53207,14.75623 -0.15811,1.90925 0.54946,4.41024 3.14633,2.90756 1.89679,-0.35275 8.53573,-7.07996 10.06668,-9.63803 3.57354,-5.64525 7.99739,-12.5303 10.60404,-19.6086 1.93001,-4.82259 2.26364,-5.81773 3.44416,-12.74689 0.99442,-4.83171 5.00828,-10.24011 12.16817,-8.65398 -0.96803,1.01269 -1.38504,1.80482 -2.37868,3.57559 -4.33428,10.26955 -1.8783,18.17339 1.42469,22.13751 -0.17457,5.78487 -4.56068,8.10569 -8.21836,7.99597 -2.87362,-0.12015 -7.54373,-0.49978 -7.82303,5.22759 -0.45319,5.73536 1.11885,7.60571 0.68899,16.26443 -0.11939,2.94455 -3.90659,11.65684 -0.24742,13.83434 0.0168,1.53899 -3.046,0.94071 -4.30694,1.07737 -2.48575,-0.34185 -4.29807,0.33174 -4.33858,3.73737 -0.57987,2.4052 -3.16722,5.57052 -2.71576,8.045
 48 6.28401,-0.82915 12.50844,-3.29856 16.50305,-9.32192 2.0316,-5.5201 1.97329,-17.02741 2.52,-24.56004 1.25335,-5.28051 7.96198,-2.58894 11.19452,-2.50925 3.82718,-0.0864 6.40735,-2.03902 9.96151,-1.07798 -1.32164,2.1664 -1.65214,2.83431 -3.58713,5.68459 -2.48136,3.54552 -4.01031,7.41197 0.47384,9.32451 5.87702,2.39673 9.87771,6.11777 14.25778,10.68305 5.34951,6.54843 6.53517,12.34804 7.62566,11.93876 1.33186,1.1544 3.62756,-0.73988 3.74211,2.67544 -0.16497,3.63391 4.62554,3.61497 6.35686,5.05052 1.33493,-0.0907 4.77214,2.63666 4.37128,-1.0215 0.9627,-6.75887 -5.95558,-10.66807 -9.09891,-15.28471 -4.74578,-5.62114 -9.15707,-10.11678 -14.41216,-15.08509 -1.65411,-1.52829 -1.76475,-4.18782 0.0663,-5.58719 5.90435,-5.25615 6.42936,-12.58582 11.04672,-17.17446 3.20002,0.94247 7.03725,3.74804 11.245,4.94488 6.34094,1.76953 12.57033,5.09364 19.27232,4.48245 4.64812,-0.38623 -2.56281,9.75097 -3.2553,14.24204 1.01847,4.61451 0.24878,12.61773 -0.79816,16.90622 -2.55105,5.19247 -3.61
 436,8.55029 -6.60677,12.86765 -2.41468,5.00024 5.58323,2.94281 3.93745,7.15117 -1.59649,2.31678 -0.56035,2.64218 1.81277,3.73555 2.67905,0.86797 6.3366,3.25331 8.98334,3.98963 3.53315,-4.2742 -6.12769,-9.09598 -5.41791,-13.8475 -0.41345,-4.76081 2.22045,-8.86157 2.97223,-13.43441 2.91275,-7.09291 6.14058,-13.60442 8.72502,-20.86143 2.12388,-4.24488 3.49719,-9.74686 7.10043,-12.62471 4.3896,-2.18238 10.99491,2.16113 16.17644,4.46993 1.58901,0.61422 6.97531,1.80832 5.09649,4.08643 -5.3822,2.27181 -9.88272,7.71865 -15.35158,9.65759 -1.58703,0.19738 -2.24818,0.60201 -2.21873,3.36537 -2.62774,0.56496 -3.9032,-2.51381 -6.23726,-3.52852 -3.03446,0.878 -5.69602,5.5078 -6.68871,8.19789 -1.35941,1.94913 5.133,2.37087 6.72812,2.18585 3.68438,-0.005 6.02347,-0.58116 7.65428,-1.16754 2.63797,-1.0692 4.99839,-3.79391 7.14014,-4.88379 6.03669,-3.82778 13.70796,-8.72404 18.73443,-14.08545 1.73528,-1.96512 2.98344,-4.84791 -0.25322,-6.91698 -2.95269,-2.88557 -7.81981,-6.31476 -12.09496,-8.46
 99 -2.37846,-1.69635 -2.90341,-1.47847 -5.96636,-3.93525 2.01266,-2.75899 2.48542,-9.70807 2.77976,-13.00145 3.16536,-5.35717 4.43028,-12.39207 7.14701,-19.46586 2.83881,1.09616 7.15238,1.73074 10.10717,1.12227 4.93816,-0.15424 7.54921,7.62346 12.82402,3.64403 3.57456,-3.56635 -4.33893,-3.50106 -3.47606,-5.33563 2.00633,-2.61467 4.4756,2.66302 6.32357,2.08955 2.33535,-1.07695 1.9027,-5.88329 -0.96038,-7.69716 -2.98702,-3.44302 -9.92061,-8.78041 -10.66398,-10.53296 -1.06263,-3.8805 -11.78375,-10.44131 -14.40291,-12.97168 -1.20163,-2.6833 -0.14148,-5.21506 -1.18558,-7.78779 -0.63412,-0.63606 -2.10843,-0.7887 -2.84985,0.10035 z"
+     inkscape:transform-center-x="-22.801968"
+     inkscape:transform-center-y="-87.950447" />
+  <path
+     style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
+     sodipodi:nodetypes="cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccscccccccccccccccc"
+     id="path720-1-5"
+     d="m 234.96663,341.31858 c -2.36034,2.54125 -3.01395,5.37865 -4.21714,5.66675 -1.92808,-0.42154 -5.3396,-0.60199 -7.31444,0.84029 -0.43733,1.29541 0.88557,0.14038 3.19231,1.52884 -2.18552,1.87459 -3.12078,-0.73331 -5.85082,2.88957 -0.97648,1.28279 0.42205,-0.0476 2.39034,0.74514 -1.70983,2.17945 -2.36765,-0.55613 -5.38656,0.96041 -3.2696,2.25599 -3.47326,3.4271 -6.92528,3.59671 -0.71621,0.39147 1.02162,1.12789 1.92258,1.05236 -2.87764,1.38207 -8.03239,6.25944 -4.06438,5.34522 2.27399,-1.85976 2.80154,-1.37983 4.06607,-0.77122 -0.70392,1.79241 -2.62001,0.49172 -4.12121,1.96279 -2.75595,1.38678 -1.92878,3.05444 -6.37252,3.31799 -2.77235,0.57752 0.63829,1.5862 1.19115,2.5183 -2.74348,0.42978 -5.37283,3.84195 -4.15918,3.81849 2.13618,-1.35158 4.13921,0.30597 6.39733,-1.83054 -2.84541,3.25389 -8.07158,5.59983 -12.53125,5.13082 -5.17962,0.68731 -10.93206,-1.00305 -16.03156,-3.58725 -7.91454,-3.744 -12.68112,-5.88905 -18.89692,-6.67209 -6.93078,-0.42045 -11.72035,1.29236 -16.9
 5461,5.34355 -2.19453,-0.71785 -3.29394,-1.31667 -6.67003,-1.56487 -6.68649,-0.26789 -12.62129,2.82536 -16.69461,8.6406 -3.95509,3.78929 -6.42706,12.78345 -6.67317,16.34423 -1.0302,4.35803 -1.03511,8.59836 -6.63205,15.3864 -3.83637,4.79914 -9.32867,7.07923 -8.53207,14.75623 -0.15811,1.90925 0.54946,4.41024 3.14633,2.90756 1.89679,-0.35275 8.53573,-7.07996 10.06668,-9.63803 3.57354,-5.64525 7.99739,-12.5303 10.60404,-19.6086 1.93001,-4.82259 2.26364,-5.81773 3.44416,-12.74689 0.99442,-4.83171 5.00828,-10.24011 12.16817,-8.65398 -0.96803,1.01269 -1.38504,1.80482 -2.37868,3.57559 -4.33428,10.26955 -1.8783,18.17339 1.42469,22.13751 -0.17457,5.78487 -4.56068,8.10569 -8.21836,7.99597 -2.87362,-0.12015 -7.54373,-0.49978 -7.82303,5.22759 -0.45319,5.73536 1.11885,7.60571 0.68899,16.26443 -0.11939,2.94455 -3.90659,11.65684 -0.24742,13.83434 0.0168,1.53899 -3.046,0.94071 -4.30694,1.07737 -2.48575,-0.34185 -4.29807,0.33174 -4.33858,3.73737 -0.57987,2.4052 -3.16722,5.57052 -2.71576,8.045
 48 6.28401,-0.82915 12.50844,-3.29856 16.50305,-9.32192 2.0316,-5.5201 1.97329,-17.02741 2.52,-24.56004 1.25335,-5.28051 7.96198,-2.58894 11.19452,-2.50925 3.82718,-0.0864 6.40735,-2.03902 9.96151,-1.07798 -1.32164,2.1664 -1.65214,2.83431 -3.58713,5.68459 -2.48136,3.54552 -4.01031,7.41197 0.47384,9.32451 5.87702,2.39673 9.87771,6.11777 14.25778,10.68305 5.34951,6.54843 6.53517,12.34804 7.62566,11.93876 1.33186,1.1544 3.62756,-0.73988 3.74211,2.67544 -0.16497,3.63391 4.62554,3.61497 6.35686,5.05052 1.33493,-0.0907 4.77214,2.63666 4.37128,-1.0215 0.9627,-6.75887 -5.95558,-10.66807 -9.09891,-15.28471 -4.74578,-5.62114 -9.15707,-10.11678 -14.41216,-15.08509 -1.65411,-1.52829 -1.76475,-4.18782 0.0663,-5.58719 5.90435,-5.25615 6.42936,-12.58582 11.04672,-17.17446 3.20002,0.94247 7.03725,3.74804 11.245,4.94488 6.34094,1.76953 12.57033,5.09364 19.27232,4.48245 4.64812,-0.38623 -2.56281,9.75097 -3.2553,14.24204 1.01847,4.61451 0.24878,12.61773 -0.79816,16.90622 -2.55105,5.19247 -3.61
 436,8.55029 -6.60677,12.86765 -2.41468,5.00024 5.58323,2.94281 3.93745,7.15117 -1.59649,2.31678 -0.56035,2.64218 1.81277,3.73555 2.67905,0.86797 6.3366,3.25331 8.98334,3.98963 3.53315,-4.2742 -6.12769,-9.09598 -5.41791,-13.8475 -0.41345,-4.76081 2.22045,-8.86157 2.97223,-13.43441 2.91275,-7.09291 6.14058,-13.60442 8.72502,-20.86143 2.12388,-4.24488 3.49719,-9.74686 7.10043,-12.62471 4.3896,-2.18238 10.99491,2.16113 16.17644,4.46993 1.58901,0.61422 6.97531,1.80832 5.09649,4.08643 -5.3822,2.27181 -9.88272,7.71865 -15.35158,9.65759 -1.58703,0.19738 -2.24818,0.60201 -2.21873,3.36537 -2.62774,0.56496 -3.9032,-2.51381 -6.23726,-3.52852 -3.03446,0.878 -5.69602,5.5078 -6.68871,8.19789 -1.35941,1.94913 5.133,2.37087 6.72812,2.18585 3.68438,-0.005 6.02347,-0.58116 7.65428,-1.16754 2.63797,-1.0692 4.99839,-3.79391 7.14014,-4.88379 6.03669,-3.82778 13.70796,-8.72404 18.73443,-14.08545 1.73528,-1.96512 2.98344,-4.84791 -0.25322,-6.91698 -2.95269,-2.88557 -7.81981,-6.31476 -12.09496,-8.46
 99 -2.37846,-1.69635 -2.90341,-1.47847 -5.96636,-3.93525 2.01266,-2.75899 2.48542,-9.70807 2.77976,-13.00145 3.16536,-5.35717 4.43028,-12.39207 7.14701,-19.46586 2.83881,1.09616 7.15238,1.73074 10.10717,1.12227 4.93816,-0.15424 7.54921,7.62346 12.82402,3.64403 3.57456,-3.56635 -4.33893,-3.50106 -3.47606,-5.33563 2.00633,-2.61467 4.4756,2.66302 6.32357,2.08955 2.33535,-1.07695 1.9027,-5.88329 -0.96038,-7.69716 -2.98702,-3.44302 -9.92061,-8.78041 -10.66398,-10.53296 -1.06263,-3.8805 -11.78375,-10.44131 -14.40291,-12.97168 -1.20163,-2.6833 -0.14148,-5.21506 -1.18558,-7.78779 -0.63412,-0.63606 -2.10843,-0.7887 -2.84985,0.10035 z"
+     inkscape:transform-center-x="-22.801968"
+     inkscape:transform-center-y="-87.950447" />
+  <path
+     style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
+     sodipodi:nodetypes="cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccscccccccccccccccc"
+     id="path720-1-5-7"
+     d="m 215.42209,214.27905 c -2.36034,2.54125 -3.01395,5.37865 -4.21714,5.66675 -1.92808,-0.42154 -5.3396,-0.60199 -7.31444,0.84029 -0.43733,1.29541 0.88557,0.14038 3.19231,1.52884 -2.18552,1.87459 -3.12078,-0.73331 -5.85082,2.88957 -0.97648,1.28279 0.42205,-0.0476 2.39034,0.74514 -1.70983,2.17945 -2.36765,-0.55613 -5.38656,0.96041 -3.2696,2.25599 -3.47326,3.4271 -6.92528,3.59671 -0.71621,0.39147 1.02162,1.12789 1.92258,1.05236 -2.87764,1.38207 -8.03239,6.25944 -4.06438,5.34522 2.27399,-1.85976 2.80154,-1.37983 4.06607,-0.77122 -0.70392,1.79241 -2.62001,0.49172 -4.12121,1.96279 -2.75595,1.38678 -1.92878,3.05444 -6.37252,3.31799 -2.77235,0.57752 0.63829,1.5862 1.19115,2.5183 -2.74348,0.42978 -5.37283,3.84195 -4.15918,3.81849 2.13618,-1.35158 4.13921,0.30597 6.39733,-1.83054 -2.84541,3.25389 -8.07158,5.59983 -12.53126,5.13082 -5.17962,0.68731 -10.93206,-1.00305 -16.03156,-3.58725 -7.91454,-3.744 -12.68112,-5.88905 -18.89692,-6.67209 -6.93078,-0.42045 -11.72035,1.29236 -16.9
 5461,5.34355 -2.19453,-0.71785 -3.29394,-1.31667 -6.67003,-1.56487 -6.68649,-0.26789 -12.62129,2.82536 -16.69461,8.6406 -3.95509,3.78929 -6.42706,12.78345 -6.67317,16.34423 -1.0302,4.35803 -1.03511,8.59836 -6.63205,15.3864 -3.83637,4.79914 -9.32866,7.07923 -8.53206,14.75623 -0.15811,1.90925 0.54946,4.41024 3.14632,2.90756 1.89679,-0.35275 8.53573,-7.07996 10.06668,-9.63803 3.57354,-5.64525 7.99739,-12.5303 10.60404,-19.6086 1.93001,-4.82259 2.26364,-5.81773 3.44416,-12.74689 0.99442,-4.83171 5.00828,-10.24011 12.16817,-8.65398 -0.96803,1.01269 -1.38504,1.80482 -2.37868,3.57559 -4.33428,10.26955 -1.8783,18.17339 1.42469,22.13751 -0.17457,5.78487 -4.56068,8.10569 -8.21836,7.99597 -2.87362,-0.12015 -7.54373,-0.49978 -7.82303,5.22759 -0.45319,5.73536 1.11885,7.60571 0.68899,16.26443 -0.11939,2.94455 -3.90659,11.65684 -0.24742,13.83434 0.0168,1.53899 -3.046,0.94071 -4.30694,1.07737 -2.48575,-0.34185 -4.29807,0.33174 -4.33858,3.73737 -0.57987,2.4052 -3.16722,5.57052 -2.71576,8.045
 48 6.28401,-0.82915 12.50844,-3.29856 16.50305,-9.32192 2.0316,-5.5201 1.97329,-17.02741 2.52,-24.56004 1.25335,-5.28051 7.96198,-2.58894 11.19452,-2.50925 3.82718,-0.0864 6.40735,-2.03902 9.96151,-1.07798 -1.32164,2.1664 -1.65214,2.83431 -3.58713,5.68459 -2.48136,3.54552 -4.01031,7.41197 0.47384,9.32451 5.87702,2.39673 9.87771,6.11777 14.25778,10.68305 5.34951,6.54843 6.53517,12.34804 7.62566,11.93876 1.33186,1.1544 3.62756,-0.73988 3.74211,2.67544 -0.16497,3.63391 4.62554,3.61497 6.35686,5.05052 1.33493,-0.0907 4.77214,2.63666 4.37128,-1.0215 0.9627,-6.75887 -5.95558,-10.66807 -9.09891,-15.28471 -4.74578,-5.62114 -9.15707,-10.11678 -14.41216,-15.08509 -1.65411,-1.52829 -1.76475,-4.18782 0.0663,-5.58719 5.90435,-5.25615 6.42936,-12.58582 11.04672,-17.17446 3.20002,0.94247 7.03725,3.74804 11.245,4.94488 6.34094,1.76953 12.57033,5.09364 19.27233,4.48245 4.64812,-0.38623 -2.56281,9.75097 -3.25531,14.24204 1.01848,4.61451 0.24879,12.61773 -0.79816,16.90622 -2.55105,5.19247 -3.6
 1436,8.55029 -6.60677,12.86765 -2.41468,5.00024 5.58323,2.94281 3.93745,7.15117 -1.59649,2.31678 -0.56035,2.64218 1.81277,3.73555 2.67906,0.86797 6.33661,3.25331 8.98335,3.98963 3.53315,-4.2742 -6.12769,-9.09598 -5.41791,-13.8475 -0.41345,-4.76081 2.22045,-8.86157 2.97223,-13.43441 2.91275,-7.09291 6.14058,-13.60442 8.72502,-20.86143 2.12388,-4.24488 3.49719,-9.74686 7.10043,-12.62471 4.3896,-2.18238 10.99491,2.16113 16.17644,4.46993 1.58901,0.61422 6.97531,1.80832 5.09649,4.08643 -5.3822,2.27181 -9.88272,7.71865 -15.35158,9.65759 -1.58703,0.19738 -2.24818,0.60201 -2.21873,3.36537 -2.62774,0.56496 -3.9032,-2.51381 -6.23726,-3.52852 -3.03446,0.878 -5.69602,5.5078 -6.68871,8.19789 -1.35941,1.94913 5.133,2.37087 6.72812,2.18585 3.68438,-0.005 6.02347,-0.58116 7.65428,-1.16754 2.63797,-1.0692 4.99839,-3.79391 7.14014,-4.88379 6.03669,-3.82778 13.70796,-8.72404 18.73443,-14.08545 1.73528,-1.96512 2.98344,-4.84791 -0.25322,-6.91698 -2.95269,-2.88557 -7.81981,-6.31476 -12.09496,-8.
 4699 -2.37846,-1.69635 -2.90341,-1.47847 -5.96636,-3.93525 2.01266,-2.75899 2.48542,-9.70807 2.77976,-13.00145 3.16536,-5.35717 4.43028,-12.39207 7.14701,-19.46586 2.83881,1.09616 7.15238,1.73074 10.10717,1.12227 4.93816,-0.15424 7.54921,7.62346 12.82402,3.64403 3.57456,-3.56635 -4.33893,-3.50106 -3.47606,-5.33563 2.00633,-2.61467 4.4756,2.66302 6.32357,2.08955 2.33535,-1.07695 1.9027,-5.88329 -0.96038,-7.69716 -2.98702,-3.44302 -9.92061,-8.78041 -10.66398,-10.53296 -1.06263,-3.8805 -11.78375,-10.44131 -14.40291,-12.97168 -1.20163,-2.6833 -0.14148,-5.21506 -1.18558,-7.78779 -0.63412,-0.63606 -2.10843,-0.7887 -2.84985,0.10035 z"
+     inkscape:transform-center-x="-22.801968"
+     inkscape:transform-center-y="-87.950447" />
+  <path
+     d="m 108.29739,28.789357 c -9.80105,0 -17.796616,5.863883 -17.796606,13.16692 0,7.280603 7.995586,13.218953 17.796606,13.218963 9.81611,0 17.72654,-5.93836 17.72651,-13.218963 0,-7.303037 -7.9104,-13.16692 -17.72651,-13.16692 z M 99.5392,57.933529 c -3.17377,0 -5.745306,1.901841 -5.745326,4.267541 0,20.337655 2e-5,40.7143 0,61.04664 0,2.37277 2.571556,4.26755 5.745326,4.26754 l 6.7263,0 0,-30.757507 3.99372,0 0,30.757507 6.72626,0 c 3.18095,0 5.74538,-1.89477 5.74535,-4.26754 0,-20.33234 3e-5,-40.709009 0,-61.04664 0,-2.365692 -2.56437,-4.267541 -5.74535,-4.267541 l -17.44628,0 z m -14.223246,2.02969 c -1.56345,0 -2.8727,0.925132 -2.87268,2.081723 l 0,29.092125 c 0,1.173697 1.3092,2.133769 2.87268,2.133769 l 2.2421,0 c 1.56028,0 2.87268,-0.960072 2.87268,-2.133769 l 0,-29.092125 c 0,-1.154824 -1.3124,-2.08171 -2.87268,-2.081723 l -2.2421,0 z m 43.650706,0 c -1.55948,0 -2.80264,0.925132 -2.80262,2.081723 l 0,29.092125 c 0,1.173697 1.2471,2.133769 2.80262,2.133769 l 2.312
 16,0 c 1.56186,0 2.80262,-0.960072 2.80259,-2.133769 l 0,-29.092125 c 0,-1.154824 -1.24072,-2.08171 -2.80259,-2.081723 l -2.31216,0 z"
+     id="path16"
+     style="fill:#1b1c1f;fill-rule:evenodd" />
+  <path
+     d="m 181.58943,28.800655 c -9.80105,0 -17.79662,5.863882 -17.79661,13.166916 0,7.280608 7.99559,13.218955 17.79661,13.218967 9.81611,0 17.72654,-5.938359 17.72651,-13.218967 0,-7.303034 -7.9104,-13.166916 -17.72651,-13.166916 z m -8.75819,29.144166 c -3.17377,0 -5.74531,1.901844 -5.74533,4.267541 0,20.337654 2e-5,40.714308 0,61.046638 0,2.37277 2.57156,4.26755 5.74533,4.26754 l 6.7263,0 0,-30.757498 3.99372,0 0,30.757498 6.72626,0 c 3.18095,0 5.74538,-1.89477 5.74535,-4.26754 0,-20.33233 3e-5,-40.709008 0,-61.046638 0,-2.365685 -2.56437,-4.267541 -5.74535,-4.267541 l -17.44628,0 z m -14.22325,2.029693 c -1.56345,0 -2.8727,0.925137 -2.87268,2.081719 l 0,29.092128 c 0,1.173697 1.3092,2.13377 2.87268,2.13377 l 2.2421,0 c 1.56028,0 2.87268,-0.960073 2.87268,-2.13377 l 0,-29.092128 c 0,-1.154816 -1.3124,-2.081706 -2.87268,-2.081719 l -2.2421,0 z m 43.65071,0 c -1.55948,0 -2.80264,0.925137 -2.80262,2.081719 l 0,29.092128 c 0,1.173697 1.2471,2.13377 2.80262,2.13377 l 2.31216,0
  c 1.56186,0 2.80262,-0.960073 2.80259,-2.13377 l 0,-29.092128 c 0,-1.154816 -1.24072,-2.081706 -2.80259,-2.081719 l -2.31216,0 z"
+     id="path16-3"
+     style="fill:#1b1c1f;fill-rule:evenodd" />
+  <path
+     d="m 256.51018,28.800655 c -9.80105,0 -17.79662,5.863882 -17.79661,13.166916 0,7.280608 7.99559,13.218955 17.79661,13.218967 9.81611,0 17.72654,-5.938359 17.72651,-13.218967 0,-7.303034 -7.9104,-13.166916 -17.72651,-13.166916 z m -8.75819,29.144166 c -3.17377,0 -5.74531,1.901844 -5.74533,4.267541 0,20.337653 2e-5,40.714308 0,61.046648 0,2.37278 2.57156,4.26756 5.74533,4.26754 l 6.7263,0 0,-30.757509 3.99372,0 0,30.757509 6.72626,0 c 3.18095,0 5.74538,-1.89476 5.74535,-4.26754 0,-20.33234 3e-5,-40.709019 0,-61.046648 0,-2.365685 -2.56437,-4.267541 -5.74535,-4.267541 l -17.44628,0 z m -14.22325,2.029693 c -1.56345,0 -2.8727,0.925137 -2.87268,2.081719 l 0,29.092127 c 0,1.173697 1.3092,2.13377 2.87268,2.13377 l 2.2421,0 c 1.56028,0 2.87268,-0.960073 2.87268,-2.13377 l 0,-29.092127 c 0,-1.154816 -1.3124,-2.081706 -2.87268,-2.081719 l -2.2421,0 z m 43.65071,0 c -1.55948,0 -2.80264,0.925137 -2.80262,2.081719 l 0,29.092127 c 0,1.173697 1.2471,2.13377 2.80262,2.13377 l 2.31216,0
  c 1.56186,0 2.80262,-0.960073 2.80259,-2.13377 l 0,-29.092127 c 0,-1.154816 -1.24072,-2.081706 -2.80259,-2.081719 l -2.31216,0 z"
+     id="path16-3-1"
+     style="fill:#1b1c1f;fill-rule:evenodd" />
+  <path
+     d="m 331.43093,26.789355 c -9.80105,0 -17.79662,5.863882 -17.79661,13.166916 0,7.280613 7.99559,13.218959 17.79661,13.218972 9.81611,0 17.72654,-5.938359 17.72651,-13.218972 0,-7.303034 -7.9104,-13.166916 -17.72651,-13.166916 z m -8.75819,29.144171 c -3.17377,0 -5.74531,1.901844 -5.74533,4.26754 0,20.337643 2e-5,40.714294 0,61.046644 0,2.37277 2.57156,4.26755 5.74533,4.26754 l 6.7263,0 0,-30.757516 3.99372,0 0,30.757516 6.72626,0 c 3.18095,0 5.74538,-1.89477 5.74535,-4.26754 0,-20.33235 3e-5,-40.709026 0,-61.046644 0,-2.365684 -2.56437,-4.26754 -5.74535,-4.26754 l -17.44628,0 z m -14.22325,2.029693 c -1.56345,0 -2.8727,0.925137 -2.87268,2.081719 l 0,29.092115 c 0,1.173698 1.3092,2.13377 2.87268,2.13377 l 2.2421,0 c 1.56028,0 2.87268,-0.960072 2.87268,-2.13377 l 0,-29.092115 c 0,-1.154816 -1.3124,-2.081707 -2.87268,-2.081719 l -2.2421,0 z m 43.65071,0 c -1.55948,0 -2.80264,0.925137 -2.80262,2.081719 l 0,29.092115 c 0,1.173698 1.2471,2.13377 2.80262,2.13377 l 2.31216,0 c 
 1.56186,0 2.80262,-0.960072 2.80259,-2.13377 l 0,-29.092115 c 0,-1.154816 -1.24072,-2.081707 -2.80259,-2.081719 l -2.31216,0 z"
+     id="path16-3-1-3"
+     style="fill:#1b1c1f;fill-rule:evenodd" />
+  <path
+     d="m 407.9804,30.81195 c -9.80105,0 -17.79662,5.863883 -17.79661,13.166916 0,7.280608 7.99559,13.218955 17.79661,13.218967 9.81611,0 17.72654,-5.938359 17.72651,-13.218967 0,-7.303033 -7.9104,-13.166916 -17.72651,-13.166916 z m -8.75819,29.144167 c -3.17377,0 -5.74531,1.901843 -5.74533,4.26754 0,20.337642 2e-5,40.714293 0,61.046633 0,2.37278 2.57156,4.26756 5.74533,4.26754 l 6.7263,0 0,-30.757505 3.99372,0 0,30.757505 6.72626,0 c 3.18095,0 5.74538,-1.89476 5.74535,-4.26754 0,-20.33234 3e-5,-40.709015 0,-61.046633 0,-2.365684 -2.56437,-4.26754 -5.74535,-4.26754 l -17.44628,0 z m -14.22325,2.029692 c -1.56345,0 -2.8727,0.925138 -2.87268,2.08172 l 0,29.092115 c 0,1.173697 1.3092,2.13377 2.87268,2.13377 l 2.2421,0 c 1.56028,0 2.87268,-0.960073 2.87268,-2.13377 l 0,-29.092115 c 0,-1.154817 -1.3124,-2.081707 -2.87268,-2.08172 l -2.2421,0 z m 43.65071,0 c -1.55948,0 -2.80264,0.925138 -2.80262,2.08172 l 0,29.092115 c 0,1.173697 1.2471,2.13377 2.80262,2.13377 l 2.31216,0 c 1.561
 86,0 2.80262,-0.960073 2.80259,-2.13377 l 0,-29.092115 c 0,-1.154817 -1.24072,-2.081707 -2.80259,-2.08172 l -2.31216,0 z"
+     id="path16-3-1-3-5"
+     style="fill:#1b1c1f;fill-rule:evenodd" />
+</svg>
diff --git a/data/games.xml b/data/games.xml
index d78a1fa..8aa1354 100644
--- a/data/games.xml
+++ b/data/games.xml
@@ -313,4 +313,24 @@
 			<answer_checkattributes>Trim | MatchAll </answer_checkattributes>
 		</variant>
 	</game>
+
+	<game>
+		<_name>Horse race</_name>
+		<type>Logic</type>
+		<difficulty>All</difficulty>
+		<variant>
+			<svg file = "horses_men.svg" x = "0.2" y = "0.2" width = "0.6" height = "0.6"/>
+			<variables>
+				int men = 10 + random.Next (40);
+				int horses = 10 + random.Next (40);
+				int legs = 2 *  men + horses * 4;
+				int eyes = (men + horses) * 2;
+			</variables>
+			<_question>In a horse race there are people and horses. You can count [eyes] eye and [legs] leg. How many horses are present?</_question>
+			<question plural ="[eyes]">In a horse race there are people and horses. You can count [eyes] eyes and [legs] legs. How many horses are present?</question>
+			<answer>[horses]</answer>
+			<_rationale>There are [men] people and [horses] horses.</_rationale>
+			<_rationale plural ="[eyes]">There are [men] people and [horses] horses.</_rationale>
+		</variant>
+	</game>
 </games>
diff --git a/src/Clients/Classical/Dialogs/AboutDialog.cs b/src/Clients/Classical/Dialogs/AboutDialog.cs
index bf73542..2474f52 100644
--- a/src/Clients/Classical/Dialogs/AboutDialog.cs
+++ b/src/Clients/Classical/Dialogs/AboutDialog.cs
@@ -39,8 +39,8 @@ namespace gbrainy.Clients.Classical
 				"Carme Cabal Sard\u00e0",
 				"Jordi Mas i Hernandez",
 				"Felipe Menegaz",
+				"John Cliff",
 				"Openclipart.org",
-
 			};
 
 			string [] documenters = new string [] {
diff --git a/tools/GameXmlGetString.cs b/tools/GameXmlGetString.cs
index 0446f8b..638300e 100644
--- a/tools/GameXmlGetString.cs
+++ b/tools/GameXmlGetString.cs
@@ -62,6 +62,14 @@ public class GameXmlSttringFactory
 			"You have [money] monetary units in your bank account at 10% compound interest annually. How much money will you have at end of 2 years?",
 			variable);
 
+		Catalog.GetPluralString ("In a horse race there are people and horses. You can count [eyes] eye and [legs] leg. How many horses are present?",
+			"In a horse race there are people and horses. You can count [eyes] eyes and [legs] legs. How many horses are present?",
+			variable);
+
+		Catalog.GetPluralString ("There are [men] people and [horses] horses.",
+			"There are [men] people and [horses] horses.",
+			variable);
+
 
 	}
 }



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