Commit d7bca7a0 authored by Srishti Sethi's avatar Srishti Sethi

dicey_dicey-activity

parent 80190639
SUBDIRS =
pythondir = $(PYTHON_PLUGIN_DIR)
dist_python_DATA= dicey_dicey.py
xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
xml_in_files = \
dicey_dicey.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)
# Do not use the INTLTOOL_XML_RULE, we don't need to embed the translations
# in the file themselves. GCompris pick the translations from the po file at
# runtime.
#
$(xml_DATA): %.xml: %.xml.in
sed -e "s/\(<\{1\}\/*\)_/\1/g" $< > $@
# Use this directive and instead of the one above to embed the translations
# in the xml files directly, this is needed for the tool gcompris2spip
#@INTLTOOL_XML_RULE@
icondir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
icon_DATA = dicey_dicey.svg
EXTRA_DIST = $(icon_DATA) ${xml_in_files} init_path.sh
CLEANFILES = $(xml_DATA)
# gcompris - dicey_dicey.py
#
# Copyright (C) 2003, 2008 Bruno Coudoin
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
#
# dicey_dicey activity.
import gtk
import gtk.gdk
import gcompris
import gcompris.utils
import gcompris.skin
import gcompris.score
import goocanvas
import pango
import random
import gcompris.bonus
from BrailleChar import *
from gcompris import gcompris_gettext as _
on = 0XFFFFFFFFL
off = 0X00000000L
circle_stroke = "black"
circle_fill = "#660066"
symbol_operators = {1 : "dicey_dicey/plus.svg",2 : "dicey_dicey/minus.svg",
3 : "dicey_dicey/multiply.svg" ,4 : "dicey_dicey/divide.svg"}
sign = ['+','_','X','/']
random.shuffle(sign)
x1 = 100
x2 = 300
x3 = 340
x4 = 120
x5 = 360
x6 = 400
class Gcompris_dicey_dicey:
"""Empty gcompris python class"""
def __init__(self, gcomprisBoard):
# Save the gcomprisBoard, it defines everything we need
# to know from the core
self.gcomprisBoard = gcomprisBoard
self.gcomprisBoard.level=1
self.gcomprisBoard.sublevel=1
self.gcomprisBoard.number_of_sublevel=2
self.gcomprisBoard.maxlevel = 6
self.counter = 0
# Needed to get key_press
gcomprisBoard.disable_im_context = True
def start(self):
# Set the buttons we want in the bar
gcompris.bar_set(gcompris.BAR_LEVEL)
gcompris.bar_location(300,-1,0.8)
# Set a background image
gcompris.set_default_background(self.gcomprisBoard.canvas.get_root_item())
# Create our rootitem. We put each canvas item in it so at the end we
# only have to kill it. The canvas deletes all the items it contains
# automaticaly.
self.rootitem = goocanvas.Group(parent =
self.gcomprisBoard.canvas.get_root_item())
gcompris.score.start(gcompris.score.STYLE_NOTE, 70, 470,
self.gcomprisBoard.number_of_sublevel)
gcompris.bar_set_level(self.gcomprisBoard)
gcompris.score.set(self.gcomprisBoard.sublevel)
self.display_function(self.gcomprisBoard.level)
def display_function(self,level):
if(level == 1 or level == 4):
"""Taking two random numbers to be displayed on the dice"""
plus_arr_a = [0,1,2]
plus_arr_b = [0,1,2]
minus_arr_a = [2]
minus_arr_b = [0,1,2]
mult_arr_a = [0,1,2]
mult_arr_b = [0,1,2]
div_arr_a = [0,1,2]
div_arr_b = [1,2]
self.dicey_dicey()
if(level == 1):
self.dicey_dicey1()
elif(level == 4):
self.dicey_dicey1()
self.dicey_dicey4()
self.calculate(plus_arr_a,plus_arr_b,minus_arr_a,minus_arr_b,
mult_arr_a,mult_arr_b,div_arr_a,div_arr_b,level)
if(level == 2 or level == 5):
plus_arr_a = [3,4,5]
plus_arr_b = [3,4]
minus_arr_a = [5]
minus_arr_b = [3,4,5]
mult_arr_a = [3,4]
mult_arr_b = [1,2]
div_arr_a = [2,4,6]
div_arr_b = [2]
self.dicey_dicey()
if(level == 2):
self.dicey_dicey1()
elif(level == 5):
self.dicey_dicey1()
self.dicey_dicey4()
self.calculate(plus_arr_a,plus_arr_b,minus_arr_a,minus_arr_b,
mult_arr_a,mult_arr_b,div_arr_a,div_arr_b,level)
if(level == 3 or level == 6):
self.dicey_dicey()
plus_arr_a = [6,7,8,9]
plus_arr_b = [6,7,8,9]
minus_arr_a = [9]
minus_arr_b = [6,7,8,9]
mult_arr_a = [6,7,8,9]
mult_arr_b = [6,7,8,9]
div_arr_a = [3,6,9]
div_arr_b = [3]
self.dicey_dicey()
if((self.random_sign == '+') or (self.random_sign == 'X')):
if(level == 3):
self.dicey_dicey2()
elif(level == 6):
self.dicey_dicey2()
self.dicey_dicey4()
else :
if(level == 3):
self.dicey_dicey1()
elif(level == 6):
self.dicey_dicey1()
self.dicey_dicey4()
self.calculate(plus_arr_a,plus_arr_b,minus_arr_a,minus_arr_b,
mult_arr_a,mult_arr_b,div_arr_a,div_arr_b,level)
if(level == 1 or level == 2 or level == 3):
gcompris.set_background(self.gcomprisBoard.canvas.get_root_item(),
"dicey_dicey/dice.svg")
ok = goocanvas.Svg(parent = self.rootitem,
svg_handle = gcompris.skin.svg_get(),
svg_id = "#OK",
tooltip = "Click to confirm your selection of dots"
)
ok.translate(40,-30)
ok.connect("button_press_event", self.ok_event,level)
gcompris.utils.item_focus_init(ok, None)
def calculate(self,plus_arr_a,plus_arr_b,minus_arr_a,minus_arr_b,
mult_arr_a,mult_arr_b,div_arr_a,div_arr_b,level):
if(self.random_sign == '+'):
i = random.choice(plus_arr_a)
j = random.choice(plus_arr_b)
self.result = i + j
elif(self.random_sign == '_'):
i = random.choice(minus_arr_a)
j = random.choice(minus_arr_b)
self.result = i - j
elif(self.random_sign == 'X'):
i = random.choice(mult_arr_a)
j = random.choice(mult_arr_b)
self.result = i * j
elif(self.random_sign == '/'):
i = random.choice(div_arr_a)
j = random.choice(div_arr_b)
self.result = i / j
if(level ==1 or level == 2):
goocanvas.Text(parent = self.rootitem,
x=280.0,
y=200.0,
text=self.random_sign,
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
self.braille_display(x4,x5,x6,i,j)
self.single_cell()
if(level == 4 or level == 5):
self.braille_display(x4,x5,x6,i,j)
goocanvas.Text(parent = self.rootitem,
x=280.0,
y=200.0,
text='?',
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
braille_cell = BrailleChar(self.rootitem,600,160,70,
self.result,on,off,circle_fill,circle_stroke,
False,False,False,None)
self.text_display()
if(level == 3):
if(self.random_sign == '+' or self.random_sign == 'X'):
self.braille_display(x1, x2, x3 ,i, j)
goocanvas.Text(parent = self.rootitem,
x=240.0,
y=200.0,
text=self.random_sign,
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
braille_cell1 = BrailleChar(self.rootitem,490,160,70,
'',on,off,circle_fill,circle_stroke,
False,True,False,callback = self.letter_change1)
braille_cell2 = BrailleChar(self.rootitem,630,160,70,
'',on,off,circle_fill,circle_stroke,
False,True,False,callback = self.letter_change2)
else :
self.braille_display(x4, x5, x6, i, j)
goocanvas.Text(parent = self.rootitem,
x=280.0,
y=200.0,
text=self.random_sign,
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
self.single_cell()
elif(level == 6):
if(self.random_sign == '+' or self.random_sign == 'X'):
goocanvas.Text(parent = self.rootitem,
x=240.0,
y=200.0,
text='?',
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
self.braille_display(x1, x2, x3, i, j)
self.two_cells()
self.text_display()
else :
goocanvas.Text(parent = self.rootitem,
x=280.0,
y=200.0,
text='?',
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
self.braille_display(x4, x5, x6, i, j)
self.result_display()
self.text_display()
def result_display(self):
braille_cell = BrailleChar(self.rootitem,600,160,70,
self.result,on,off,circle_fill,circle_stroke,
False,False,False,None)
def single_cell(self):
braille_cell = BrailleChar(self.rootitem,600,160,70,
'',on,off,circle_fill,circle_stroke,
False,True,False,callback = self.letter_change1)
def text_display(self):
goocanvas.Text(parent = self.rootitem, x=640.0,y=330.0,
text="%i" % self.result,anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
def two_cells(self):
self.a1 = self.result / 10
self.a2 = self.result % 10
braille_cell1 = BrailleChar(self.rootitem,490,160,70,
self.a1,on,off,circle_fill,circle_stroke,
False,False,False,callback = self.letter_change1)
braille_cell2 = BrailleChar(self.rootitem,630,160,70,
self.a2,on,off,circle_fill,circle_stroke,
False,False,False,callback = self.letter_change2)
def braille_display(self,x4,x5,x6,i,j):
BrailleChar(self.rootitem,x4,160,70, i ,on ,off ,circle_fill,
circle_stroke,False,False ,False,None)
BrailleChar(self.rootitem,x5,160,70,j,on,off,circle_fill,
circle_stroke,False, False, False, None)
goocanvas.Text(parent = self.rootitem, x=140.0,y=330.0,
text="%i" % i,anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
goocanvas.Text(parent = self.rootitem,
x=x6,y=330.0,
text="%i" % j,
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
def dicey_dicey(self):
#Display title of activity
goocanvas.Text(parent = self.rootitem,
x=400.0,
y=100.0,
text="Dicey - Dicey",
fill_color="black",
anchor = gtk.ANCHOR_CENTER,
alignment = pango.ALIGN_CENTER,
font = 'SANS 20'
)
self.random_sign = sign[self.counter]
def dicey_dicey1(self):
for l in range(3):
item = goocanvas.Image(parent = self.rootitem,
pixbuf = gcompris.utils.load_pixmap("dicey_dicey/diceyo.svg"),
x = 80 *(3*l+1),
y = 150,
)
goocanvas.Text(parent = self.rootitem,
x=280.0,
y=230.0,
text="___",
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
goocanvas.Text(parent = self.rootitem,
x=520.0,y=230.0,
text="=",
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
goocanvas.Text(parent = self.rootitem,
x=650.0,y=330.0,
text="___",
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
def dicey_dicey2(self):
for l in range(3):
item1 = goocanvas.Image(parent = self.rootitem,
pixbuf = gcompris.utils.load_pixmap("dicey_dicey/diceyo.svg"),
x = 65 *(3*l+1),
y = 150,
)
item2 = goocanvas.Image(parent = self.rootitem,
pixbuf = gcompris.utils.load_pixmap("dicey_dicey/diceyo.svg"),
x = 600,
y = 150,
)
goocanvas.Text(parent = self.rootitem,
x=240.0,
y=230.0,
text="___",
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
goocanvas.Text(parent = self.rootitem,
x=430.0,y=230.0,
text="=",
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
goocanvas.Text(parent = self.rootitem,
x=620.0,y=330.0,
text="___",
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
def dicey_dicey4(self):
gcompris.set_background(self.gcomprisBoard.canvas.get_root_item(),
"dicey_dicey/dice_area.svg")
goocanvas.Text(parent = self.rootitem,
x=300.0,
y=358.0,
text="Choose an operator to indicate the question mark",
anchor = gtk.ANCHOR_CENTER,
font='SANS 12')
#Display operator images
self.c = []
for operator_number in range(4):
self.I = goocanvas.Image(parent = self.rootitem,
pixbuf = gcompris.utils.load_pixmap
(symbol_operators.get(operator_number+1)),
x= 150 * (operator_number + 1),
y=375
)
self.c.append(self.I)
gcompris.utils.item_focus_init(self.I,None)
for l in range(4):
self.c[l].connect("button_press_event",self.symbol_identify,l)
def symbol_identify(self,event,target,item,index):
if((index == 0 and self.random_sign == '+') or
(index == 1 and self.random_sign == '_') or
(index == 2 and self.random_sign == 'X')
or (index == 3 and self.random_sign == '/')):
gcompris.bonus.display(gcompris.bonus.WIN,gcompris.bonus.FLOWER)
else :
gcompris.bonus.display(gcompris.bonus.LOOSE,gcompris.bonus.FLOWER)
def ok_event(self,item,target,event,level):
if(level == 1 or level == 2 or level == 3):
if(level == 3 and (self.random_sign == '+' or
self.random_sign == 'X')):
if((self.a1 == self.correct_letter1) and
(self.a2 == self.correct_letter2)):
goocanvas.Text(parent = self.rootitem,
x = 630,
y = 330,
text = str(self.correct_letter1) + ''
+str(self.correct_letter2),
anchor = gtk.ANCHOR_CENTER,
font = 'SANS 25'
)
gcompris.bonus.display(gcompris.bonus.WIN,gcompris.bonus.FLOWER)
else :
gcompris.bonus.display(gcompris.bonus.LOOSE,gcompris.bonus.FLOWER)
else :
if(self.result == self.correct_letter1):
goocanvas.Text(parent = self.rootitem,
x=650.0,
y=330.0,
text=self.result,
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
gcompris.bonus.display(gcompris.bonus.WIN,gcompris.bonus.FLOWER)
else :
gcompris.bonus.display(gcompris.bonus.LOOSE,gcompris.bonus.FLOWER)
def letter_change1(self,letter):
self.correct_letter1 = letter
def letter_change2(self,letter):
self.correct_letter2 = letter
def end(self):
# Remove the root item removes all the others inside it
self.rootitem.remove()
def ok(self):
print("dicey_dicey ok.")
def repeat(self):
print("dicey_dicey repeat.")
def config(self):
print("dicey_dicey config.")
def key_press(self, keyval, commit_str, preedit_str):
utf8char = gtk.gdk.keyval_to_unicode(keyval)
strn = u'%c' % utf8char
print("Gcompris_dicey_dicey key press keyval=%i %s" % (keyval, strn))
def pause(self, pause):
if(pause == 0):
self.counter +=1
if (self.counter == 4):
self.increment_level()
self.end()
self.start()
def set_level(self, level):
gcompris.sound.play_ogg("sounds/receive.wav")
self.gcomprisBoard.level = level
self.gcomprisBoard.sublevel = 1
gcompris.bar_set_level(self.gcomprisBoard)
self.end()
self.start()
def increment_level(self):
self.counter = 0
gcompris.sound.play_ogg("sounds/bleep.wav")
self.gcomprisBoard.sublevel += 1
if(self.gcomprisBoard.sublevel>self.gcomprisBoard.number_of_sublevel):
self.gcomprisBoard.sublevel=1
self.gcomprisBoard.level += 1
if(self.gcomprisBoard.level > self.gcomprisBoard.maxlevel):
self.gcomprisBoard.level = 1
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<GCompris>
<Board
name="dicey_dicey"
type="python:dicey_dicey"
section="/experimental"
icon="dicey_dicey.svg"
difficulty="1"
author="your name here"
boarddir=""
demo="1">
<_title>set a title for dicey_dicey</_title>
<_description>set a description for dicey_dicey</_description>
<_prerequisite>set a prerequisite for dicey_dicey</_prerequisite>
<_goal>set a goal for dicey_dicey</_goal>
<_manual>set a manual for dicey_dicey</_manual>
<_credit>set a credit for dicey_dicey</_credit>
</Board>
<Data directory=""/>
</GCompris>
../boards/python/gcompris
\ No newline at end of file
This diff is collapsed.
# Set the different path for this activity
# This is sourced by runit.sh
path=$1
activity=dicey_dicey
plugindir=$path/../boards/.libs
pythonplugindir=$path/../braille_alphabets-activity:
$path/../dicey_dicey-activity
resourcedir=$path/resources
section="/experimental"
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<?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="640px"
height="480px"
id="svg3076"
version="1.1"
inkscape:version="0.48.0 r9654"
sodipodi:docname="diceyo.svg">
<defs
id="defs3078" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.77472527"
inkscape:cx="320"
inkscape:cy="240"
inkscape:current-layer="layer1"
inkscape:document-units="px"
showgrid="false"
inkscape:window-width="1280"
inkscape:window-height="701"
inkscape:window-x="0"
inkscape:window-y="37"
inkscape:window-maximized="1" />
<metadata
id="metadata3081">
<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></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:0.29487179;fill-rule:evenodd;stroke:none"
d="m 16.13149,61.528213 c 0,0 23.148056,-21.20778 38.93307,-30.431361 9.796546,-5.724363 22.966457,-8.117271 34.444824,-6.48385 20.704666,2.946353 48.883336,14.066231 48.883336,14.066231 8.21283,2.255239 14.02603,11.299379 11.73356,22.687267 -4.1414,20.572504 -6.35213,35.00386 -11.46853,52.93806 -1.80173,6.31549 -4.04608,12.78463 -7.19504,17.96764 l -11.30404,18.60582 c -4.24678,6.98995 -8.50643,8.16749 -17.04859,9.33202 C 85.853769,162.56258 60.679279,155.63191 39.413557,144.70519 30.785713,140.27205 26.978308,137.22945 22.51848,128.99279 14.231677,113.68831 12.258637,99.388835 9.5426936,82.314894 8.0744036,73.084393 10.94991,68.293966 16.13149,61.528213 z"
id="path5827"
sodipodi:nodetypes="csscssssssssc" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.20274251pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 12.184647,47.006695 c 0,0 16.118243,-20.900096 31.225791,-30.360631 9.376082,-5.871426 21.98075,-8.3258137 32.966479,-6.6504234 19.816025,3.0220484 47.784553,14.5014554 47.784553,14.5014554 7.86036,2.31319 14.40106,7.147173 13.32215,18.978663 -1.84858,20.271021 -7.98881,34.764948 -11.16097,54.012442 -0.6605,6.666389 -6.13666,17.107069 -8.75933,22.626499 l -8.40325,17.68472 c -3.53701,7.44366 -11.502464,11.3747 -19.766191,11.27681 C 77.18985,148.93165 53.615384,142.36949 34.987043,132.82209 26.591938,128.51941 20.719845,123.1958 18.261907,116.15312 12.678028,100.15381 3.6944829,86.715009 3.6821117,69.202433 3.675208,59.633392 7.2254555,53.946257 12.184647,47.006695 z"
id="rect5098"
sodipodi:nodetypes="csscssssssssc" />
<path
inkscape:connector-curvature="0"
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none"
d="m 15.337736,48.78133 c 0,0 15.504076,-20.312173 30.03595,-29.506577 9.018822,-5.706257 19.397443,-5.795934 29.964556,-4.167671 19.060974,2.93704 41.906598,11.733246 41.906598,11.733246 7.56087,2.248115 17.71895,4.050054 17.4096,13.353765 -0.56228,16.909064 -5.21502,37.644673 -9.62792,56.35069 -1.49559,6.339777 -4.2868,16.052657 -6.91819,21.354307 L 108.618,137.02 c -3.54877,7.14996 -13.973787,12.20256 -21.922643,12.10742 C 74.956354,148.98693 55.053539,141.56275 37.134991,133.98475 28.762622,130.44395 21.497019,121.93064 18.404035,113.28 12.653049,97.19537 7.8025606,86.999361 5.521259,70.42705 4.2527021,61.211748 10.567505,55.525679 15.337736,48.78133 z"
id="path12391"
sodipodi:nodetypes="csscssssssssc" />
<path
inkscape:connector-curvature="0"
style="fill:#800080;fill-opacity:1;fill-rule:evenodd;stroke:none"
d="m 72.648253,13.987506 c 20.08937,2.294911 31.053567,7.987646 47.822287,13.822129 8.72084,3.034313 16.1083,9.418596 7.43456,24.714079 L 103.87153,94.905153 C 98.632994,104.2204 83.84064,106.06282 74.50149,103.38937 L 23.121216,83.368649 C 13.782057,80.695211 4.3914416,67.481481 9.9013635,58.197653 17.678651,45.093444 30.517687,31.846829 42.801268,20.555393 c 7.46904,-6.865767 20.318893,-7.656332 29.846985,-6.567887 z"
id="rect5076"
sodipodi:nodetypes="csscccsss" />
<path
inkscape:connector-curvature="0"
style="fill:#800080;fill-opacity:1;fill-rule:evenodd;stroke:none"
d="M 76.347001,144.7183 C 59.847471,141.54396 48.871073,135.29119 35.967142,129.39855 28.84843,126.14775 22.96783,118.47491 21.346113,112.43614 l -6.1701,-18.441213 c -2.966768,-8.86707 2.079244,-8.6177 11.036048,-4.881221 l 49.013655,18.533454 c 7.638536,2.38961 14.187396,7.97862 14.196116,17.44125 0.0043,4.33665 -0.06463,7.51068 -0.704054,13.38539 -0.423299,3.88928 -4.243813,7.80805 -12.370777,6.2445 z"
id="path6555"
sodipodi:nodetypes="cscsccsss" />
<path
inkscape:connector-curvature="0"
style="fill:#800080;fill-opacity:1;fill-rule:evenodd;stroke:none"
d="m 114.62774,116.40868 c -4.38756,8.67174 -2.7932,9.80499 -8.32807,18.5545 -5.17328,8.17794 -15.192438,9.08856 -14.74899,3.19741 l 1.06035,-14.0864 c 0.739906,-9.82949 6.082905,-20.77931 9.15877,-25.786483 8.363,-13.613962 18.63122,-28.760289 26.1837,-40.77304 2.97292,-4.728595 4.70218,1.623983 3.64941,5.331288 l -9.22177,32.474764 c -1.74367,6.140381 -5.62576,16.882801 -7.7534,21.087961 z"
id="path7283"
sodipodi:nodetypes="cssssssss" />
<g
id="g2478"
transform="matrix(0.12563431,0.06660803,-0.0519576,0.18238353,144.51872,5.2037026)"
style="fill:#ffffff;fill-opacity:1">
<path
transform="translate(-14.28571,-51.42857)"
sodipodi:open="true"
sodipodi:end="5.9206252"
sodipodi:start="0"
d="m 388.57143,368.07648 c 0,11.83467 -20.46698,21.42857 -45.71428,21.42857 -25.24731,0 -45.71429,-9.5939 -45.71429,-21.42857 0,-11.83468 20.46698,-21.42857 45.71429,-21.42857 18.99238,0 36.00647,5.50458 42.74248,13.82852"
sodipodi:ry="21.428572"
sodipodi:rx="45.714287"
sodipodi:cy="368.07648"
sodipodi:cx="342.85715"
id="path2480"
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none"
sodipodi:type="arc" />
<path
inkscape:connector-curvature="0"
sodipodi:nodetypes="cscsc"
id="path2482"
d="m 341.22761,333.73564 c 47.4484,-13.1181 22.57603,-37.83109 -10.65597,-37.68281 -33.23199,0.14828 -47.98544,15.09612 -35.74555,34.95635 -31.01357,-18.60993 0.27471,-41.42605 33.5067,-41.57434 32.9219,-0.14689 76.45258,37.5554 12.89482,44.3008 z"
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none" />
</g>
<path
inkscape:connector-curvature="0"
style="fill:#2b0000;fill-opacity:0.00192297"
id="path2490"
d="m 203.85558,91.307415 c 1.41086,-0.02105 2.11961,0.503123 2.78947,1.289916 1.39478,1.750283 2.09062,-0.07325 -5.25935,2.527932 -0.0422,0.01482 0.10155,-0.02029 0.12264,-0.04959 0.0415,-0.05776 0.0338,-0.126886 0.0505,-0.190371 0.10363,-0.621597 -0.28433,-1.208109 -0.6514,-1.760807 -0.35812,-0.498904 -0.85939,-0.934299 -1.36761,-1.362595 l 5.53722,-2.286242 c 0.53777,0.457782 1.06512,0.923883 1.458,1.450219 0.42959,0.604976 0.88411,1.251833 0.87966,1.938574 0.003,0.07687 -0.002,0.153753 0.007,0.23039 0.009,0.08192 0.14303,0.202789 0.0406,0.244846 -5.61341,2.306299 -5.07004,3.45339 -6.40696,1.486812 -0.64009,-0.750032 -1.25265,-0.931781 -2.50697,-0.860373 l 5.30742,-2.658733 z" />
<path
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:0.00192297"
id="path2492"
d="m 167.44006,52.00253 c 0.35518,0.851508 0.7236,1.70912 1.24201,2.469462 0.6525,0.704043 1.59809,0.779668 2.48945,0.85228 0.14031,-0.01132 0.28516,0.0039 0.42094,-0.03313 0.11037,-0.03092 0.40134,-0.226354 0.30133,-0.169154 -1.17553,0.67234 -2.32483,1.395912 -3.52787,2.014562 -0.0697,0.03586 0.0838,-0.155164 0.0619,-0.232187 -0.0675,-0.237776 -0.1912,-0.45666 -0.31755,-0.667544 -0.19889,-0.332006 -0.43686,-0.637493 -0.65526,-0.956238 -1.63294,-2.229256 -3.63147,-4.110407 -5.69151,-5.907925 -0.22667,-0.167141 -0.69511,-0.583421 -1.03941,-0.634833 -0.0777,-0.01135 -0.28842,0.126882 -0.21967,0.08775 1.22849,-0.68584 2.45695,-1.37169 3.68543,-2.057542 -0.0166,0.0672 -0.0533,0.132421 -0.0498,0.201722 0.007,0.134123 0.0539,0.262842 0.0807,0.39427 0.27471,1.01667 0.55383,2.030954 0.8743,3.033418 0.32411,0.820617 0.6564,1.649757 1.09909,2.411176 0.76136,1.067372 1.55152,1.733952 2.75556,2.193298 0.98549,0.265736 2.02252,0.450303 3.02276,0.188757 0.10858,-0.05742 0.21709,-0.114841 0.32563,-0.172163 -1.153,0.663305 -2.28903,1.35885 -3.459,1.98992 -0.0972,0.05245 0.16455,-0.152676 0.22614,-0.246123 0.24563,-0.37283 0.24809,-0.770282 0.24159,-1.200295 -0.0869,-0.871022 -0.31036,-1.59131 -1.04024,-2.088229 -0.89077,-0.398112 -1.88364,-0.404455 -2.839,-0.426961 -0.41692,-0.0057 -0.83385,9.4e-5 -1.25072,0.0057 l 3.50911,-2.623899 c 0.41163,0.0039 0.82331,0.0085 1.23459,0.02842 1.02341,0.05684 2.09013,0.09399 3.00055,0.633629 0.80191,0.657204 1.09235,1.398228 1.21887,2.433925 0.0373,0.416349 0.0784,0.59157 0.0149,1.007776 -0.31397,2.058763 -2.82115,2.855597 -4.63724,3.336605 -1.05462,0.111157 -2.11844,-0.0791 -3.12152,-0.419474 -1.20957,-0.543119 -2.10929,-1.330545 -2.91347,-2.408512 -0.51915,-0.76228 -0.81933,-1.652133 -1.15617,-2.512753 -0.31084,-1.009924 -0.59665,-2.025303 -0.90253,-3.036467 -0.10033,-0.300522 -0.29669,-0.853616 -0.24799,-0.890087 3.2386,-2.424136 3.18131,-3.315924 5.11204,-1.479431 1.9812,1.915237 3.92031,3.877769 5.69903,5.996262 0.28375,0.351114 1.0656,1.259948 1.29105,1.733507 0.0812,0.170376 0.26045,0.441552 0.1141,0.556915 -1.95958,1.54434 -2.81165,2.581536 -4.73604,2.486086 -1.00536,-0.134262 -2.01156,-0.325999 -2.68962,-1.178218 -0.50714,-0.790068 -0.87513,-1.662981 -1.35172,-2.473175 l 3.82526,-2.240906 z" />
<path
transform="matrix(1.3780139,0,0,1.417778,4.1502044,9.9613823)"
sodipodi:type="arc"
style="fill:#311e1e;fill-opacity:0.00192297"
id="path2483"
sodipodi:cx="-29.694622"
sodipodi:cy="27.650427"
sodipodi:rx="4.7339253"
sodipodi:ry="5.4870496"
d="m -24.960697,27.650427 a 4.7339253,5.4870496 0 1 1 -9.46785,0 4.7339253,5.4870496 0 1 1 9.46785,0 z" />
<path
transform="matrix(1.3780139,0,0,1.417778,4.1502044,9.9613823)"
sodipodi:type="star"
style="fill:#311e1e;fill-opacity:0.00192297"