[gcompris/gcomprisbraille] Dicey_Dicey Activity refined|math symbols added
- From: Srishti Sethi <srishs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris/gcomprisbraille] Dicey_Dicey Activity refined|math symbols added
- Date: Wed, 15 Jun 2011 16:31:42 +0000 (UTC)
commit 685ae71c728e1a5540246b1c3103289cf1fc3bab
Author: Srishti Sethi <srishakatux gmail com>
Date: Wed Jun 15 22:01:22 2011 +0530
Dicey_Dicey Activity refined|math symbols added
src/dicey_dicey-activity/dicey_dicey.py | 343 ++++++++++++++------
src/dicey_dicey-activity/init_path.sh | 3 +-
.../resources/dicey_dicey/back.png | Bin 0 -> 1573 bytes
.../resources/dicey_dicey/cube.svg | 215 ++++++++++++
4 files changed, 466 insertions(+), 95 deletions(-)
---
diff --git a/src/dicey_dicey-activity/dicey_dicey.py b/src/dicey_dicey-activity/dicey_dicey.py
index d8dfe6d..9e90359 100644
--- a/src/dicey_dicey-activity/dicey_dicey.py
+++ b/src/dicey_dicey-activity/dicey_dicey.py
@@ -32,13 +32,20 @@ from gcompris import gcompris_gettext as _
on = 0XFFFFFFFFL
off = 0X00000000L
+plus_on = 0XFF0000FFL
+minus_on = 0XFF00FFL
+mult_on = 0X00FFFFL
+div_on = 0x3D59ABL
+
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"}
+symbol_off = "#DfDfDf"
+cell_width = 30
+
+symbol = ['+','_','X',"/"]
+random.shuffle(symbol)
+color = ["red","green","blue","dark green"]
-sign = ['+','_','X','/']
-random.shuffle(sign)
x1 = 100
x2 = 300
x3 = 340
@@ -59,6 +66,12 @@ class Gcompris_dicey_dicey:
self.gcomprisBoard.maxlevel = 6
self.counter = 0
+
+ # These are used to let us restart only after the bonus is displayed.
+ # When the bonus is displayed, it call us first with pause(1) and then with pause(0)
+ self.board_paused = 0
+ self.gamewon = 0
+
# Needed to get key_press
gcomprisBoard.disable_im_context = True
@@ -70,40 +83,93 @@ class Gcompris_dicey_dicey:
# Set a background image
gcompris.set_default_background(self.gcomprisBoard.canvas.get_root_item())
+ #Boolean variable declaration
+ self.mapActive = False
+
+ #REPEAT ICON
+ gcompris.bar_set(gcompris.BAR_LEVEL|gcompris.BAR_REPEAT_ICON)
+ gcompris.bar_location(300,-1,0.6)
+
# 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,
+ gcompris.score.start(gcompris.score.STYLE_NOTE, 50, 470,
self.gcomprisBoard.number_of_sublevel)
gcompris.bar_set_level(self.gcomprisBoard)
gcompris.score.set(self.gcomprisBoard.sublevel)
+ #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'
+ )
+
+ if(self.gcomprisBoard.level == 1 or self.gcomprisBoard.level == 2 or
+ self.gcomprisBoard.level == 3):
+ sign = ['+','_']
+ random.shuffle(sign)
+ self.random_sign = sign[self.counter]
+ else :
+ sign = ['+','_','X','/']
+ random.shuffle(sign)
+ self.random_sign = sign[self.counter]
self.display_function(self.gcomprisBoard.level)
def display_function(self,level):
- if(level == 1 or level == 4):
+ if(level == 1):
"""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]
+ self.dicey_dicey1()
+ self.calculate(plus_arr_a,plus_arr_b,minus_arr_a,minus_arr_b,
+ None,None,None,None,level)
+
+ if(level == 2):
+ plus_arr_a = [3,4,5]
+ plus_arr_b = [3,4]
+ minus_arr_a = [5]
+ minus_arr_b = [3,4,5]
+ self.dicey_dicey1()
+ self.calculate(plus_arr_a,plus_arr_b,minus_arr_a,minus_arr_b,
+ None,None,None,None,level)
+
+ if(level == 3):
+ 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]
+ if(self.random_sign == '+'):
+ self.dicey_dicey2()
+ else :
+ self.dicey_dicey1()
+ self.calculate(plus_arr_a,plus_arr_b,minus_arr_a,minus_arr_b,
+ None,None,None,None,level)
+
+ if(level == 4):
+ 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.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):
+ if(level == 5):
plus_arr_a = [3,4,5]
plus_arr_b = [3,4]
minus_arr_a = [5]
@@ -112,17 +178,12 @@ class Gcompris_dicey_dicey:
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.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()
+ if(level == 6):
plus_arr_a = [6,7,8,9]
plus_arr_b = [6,7,8,9]
minus_arr_a = [9]
@@ -131,19 +192,12 @@ class Gcompris_dicey_dicey:
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.dicey_dicey2()
+ self.dicey_dicey4()
+ else:
+ 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)
@@ -160,7 +214,6 @@ class Gcompris_dicey_dicey:
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 == '+'):
@@ -180,7 +233,6 @@ class Gcompris_dicey_dicey:
j = random.choice(div_arr_b)
self.result = i / j
-
if(level ==1 or level == 2):
goocanvas.Text(parent = self.rootitem,
x=280.0,
@@ -188,8 +240,11 @@ class Gcompris_dicey_dicey:
text=self.random_sign,
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
+ BrailleChar(self.rootitem,600,160,70,
+ '',on,off,circle_fill,circle_stroke,
+ False,True,False,callback = self.letter_change1)
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,
@@ -198,14 +253,16 @@ class Gcompris_dicey_dicey:
text='?',
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
- braille_cell = BrailleChar(self.rootitem,600,160,70,
+ 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'):
+ if(self.random_sign == '+'):
self.braille_display(x1, x2, x3 ,i, j)
+ self.a1 = self.result / 10
+ self.a2 = self.result % 10
goocanvas.Text(parent = self.rootitem,
x=240.0,
y=200.0,
@@ -220,14 +277,15 @@ class Gcompris_dicey_dicey:
False,True,False,callback = self.letter_change2)
else :
self.braille_display(x4, x5, x6, i, j)
+ braille_cell = BrailleChar(self.rootitem,600,160,70,
+ '',on,off,circle_fill,circle_stroke,
+ False,True,False,callback = self.letter_change1)
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,
@@ -252,14 +310,10 @@ class Gcompris_dicey_dicey:
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)
+ 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,
@@ -287,25 +341,12 @@ class Gcompris_dicey_dicey:
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):
+
+ for index in range(3):
item = goocanvas.Image(parent = self.rootitem,
pixbuf = gcompris.utils.load_pixmap("dicey_dicey/diceyo.svg"),
- x = 80 *(3*l+1),
+ x = 80 *(3*index+1),
y = 150,
)
@@ -321,17 +362,17 @@ class Gcompris_dicey_dicey:
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
goocanvas.Text(parent = self.rootitem,
- x=650.0,y=330.0,
+ x=655.0,y=325.0,
text="___",
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
def dicey_dicey2(self):
- for l in range(3):
+ for index in range(3):
item1 = goocanvas.Image(parent = self.rootitem,
pixbuf = gcompris.utils.load_pixmap("dicey_dicey/diceyo.svg"),
- x = 65 *(3*l+1),
+ x = 65 *(3*index+1),
y = 150,
)
item2 = goocanvas.Image(parent = self.rootitem,
@@ -351,7 +392,7 @@ class Gcompris_dicey_dicey:
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
goocanvas.Text(parent = self.rootitem,
- x=620.0,y=330.0,
+ x=628.0,y=325.0,
text="___",
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
@@ -367,45 +408,79 @@ class Gcompris_dicey_dicey:
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.cell = []
+ for index in range(4):
+ Item = goocanvas.Image(parent = self.rootitem,
+ pixbuf = gcompris.utils.load_pixmap("dicey_dicey/cube.svg"),
+ x=48 * (2*index + 5),
+ y=380
)
- 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)
+ self.cell.append(Item)
+
+ gcompris.utils.item_focus_init(Item,None)
+ """goocanvas.Text(parent = self.rootitem,
+ x=(index * 98)+280,
+ y=455,
+ text = symbol[index],
+ fill_color = color[index],
+ anchor = gtk.ANCHOR_CENTER,
+ font='SANS 28')"""
+ if(symbol[index] == '+'):
+ BrailleChar(self.rootitem,(index*98)+255,375,50,
+ '+',plus_on,off,symbol_off,circle_fill,
+ False,False,False,None)
+ elif(symbol[index] == '_'):
+ BrailleChar(self.rootitem,(index*98)+255,375,50,'_',
+ minus_on,off,symbol_off,circle_fill,
+ False,False,False,None)
+ elif(symbol[index] == 'X'):
+ BrailleChar(self.rootitem,(index*98)+237,375,50,
+ '.',mult_on,off,symbol_off,circle_fill,
+ False,False,False,None)
+ BrailleChar(self.rootitem,((index*98)+237)+34,375,50,
+ 'X',mult_on,off,symbol_off,circle_fill,
+ False,False,False,None)
+ elif(symbol[index] == '/'):
+ BrailleChar(self.rootitem,(index*98)+237,375,50,
+ '/',div_on,off,symbol_off,circle_fill,
+ False,False,False,None)
+ BrailleChar(self.rootitem,((index*98)+237)+34,375,50,
+ '-',div_on,off,symbol_off,circle_fill,
+ False,False,False,None)
+ for index in range(4):
+ self.cell[index].connect("button_press_event",self.symbol_identify,index)
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 == '/')):
+ if((symbol[index] == '+' and self.random_sign == '+') or
+ (symbol[index] == '_' and self.random_sign == '_') or
+ (symbol[index] == 'X' and self.random_sign == 'X')
+ or (symbol[index] == '/' and self.random_sign == '/')):
+ self.gamewon = 1
gcompris.bonus.display(gcompris.bonus.WIN,gcompris.bonus.FLOWER)
else :
+ self.gamewon = 0
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(level == 3 and self.random_sign == '+'):
if((self.a1 == self.correct_letter1) and
(self.a2 == self.correct_letter2)):
goocanvas.Text(parent = self.rootitem,
- x = 630,
+ x = 620,
y = 330,
text = str(self.correct_letter1) + ''
+str(self.correct_letter2),
anchor = gtk.ANCHOR_CENTER,
font = 'SANS 25'
)
+ #If there is a Win
+ self.gamewon = 1
gcompris.bonus.display(gcompris.bonus.WIN,gcompris.bonus.FLOWER)
+
else :
+ #If there is a loose
+ self.gamewon = 0
gcompris.bonus.display(gcompris.bonus.LOOSE,gcompris.bonus.FLOWER)
else :
if(self.result == self.correct_letter1):
@@ -415,8 +490,10 @@ class Gcompris_dicey_dicey:
text=self.result,
anchor = gtk.ANCHOR_CENTER,
font='SANS 25')
+ self.gamewon = 1
gcompris.bonus.display(gcompris.bonus.WIN,gcompris.bonus.FLOWER)
else :
+ self.gamewon = 0
gcompris.bonus.display(gcompris.bonus.LOOSE,gcompris.bonus.FLOWER)
def letter_change1(self,letter):
@@ -435,8 +512,86 @@ class Gcompris_dicey_dicey:
def repeat(self):
- print("dicey_dicey repeat.")
+ if(self.mapActive):
+ self.end()
+ self.start()
+ self.mapActive = False
+ else :
+ self.rootitem.props.visibility = goocanvas.ITEM_INVISIBLE
+ self.rootitem = goocanvas.Group(parent=
+ self.gcomprisBoard.canvas.get_root_item())
+ gcompris.set_default_background(self.gcomprisBoard.canvas.get_root_item())
+
+ #Place alphabets & numbers in array format
+ for index in range(0,10):
+ tile = BrailleChar(self.rootitem,index *(cell_width+40)+60,
+ 50, 38, index ,on ,off ,circle_fill,
+ circle_fill, True ,False ,True, None)
+ for index, letter in enumerate(string.ascii_uppercase[:10]):
+ tile = BrailleChar(self.rootitem, index*(cell_width+40)+60,
+ 130, 38, letter ,on,off,circle_fill,
+ circle_fill,True ,False,True,None)
+ for index, letter in enumerate(string.ascii_uppercase[10:20]):
+ tile = BrailleChar(self.rootitem, index*(cell_width+40)+60,
+ 210, 38, letter ,on, off, circle_fill,
+ circle_fill, True ,False,True,None)
+ for index, letter in enumerate(string.ascii_uppercase[20:25]):
+ tile = BrailleChar(self.rootitem, index*(cell_width+40)+60,
+ 285, 38, letter ,on ,off ,circle_fill,
+ circle_fill, True ,False,True, None)
+ BrailleChar(self.rootitem,60, 360 , 38,
+ '+',on,off,circle_fill,circle_fill,
+ True, False , True, None)
+ BrailleChar(self.rootitem,130,360,38,
+ '_',on,off,circle_fill,circle_fill,
+ True , False , True, None)
+ BrailleChar(self.rootitem,210,360,38,
+ '.',on,off,circle_fill,circle_fill,
+ False, False ,True,None)
+ BrailleChar(self.rootitem,245,360,38,
+ 'X',on,off,circle_fill,circle_fill,
+ False,False,True , None)
+ BrailleChar(self.rootitem,330,360,38,
+ '/',on,off,circle_fill,circle_fill,
+ False,False,True,None)
+ BrailleChar(self.rootitem,365,360,38,
+ '-',on,off,circle_fill,circle_fill,
+ False,False,True,None)
+ goocanvas.Text(parent = self.rootitem,
+ x=245.0,
+ y=425.0,
+ text="X",
+ fill_color=circle_fill,
+ anchor = gtk.ANCHOR_CENTER,
+ alignment = pango.ALIGN_CENTER,
+ font = 'SANS BOLD'
+ )
+ goocanvas.Text(parent = self.rootitem,
+ x=365.0,
+ y=425.0,
+ text="/",
+ fill_color=circle_fill,
+ anchor = gtk.ANCHOR_CENTER,
+ alignment = pango.ALIGN_CENTER,
+ font = 'SANS BOLD'
+ )
+
+ #Move back item
+ self.backitem = goocanvas.Image(parent = self.rootitem,
+ pixbuf = gcompris.utils.load_pixmap("dicey_dicey/back.png"),
+ x = 600,
+ y = 450,
+ tooltip = "Move Back"
+ )
+ self.backitem.connect("button_press_event", self.move_back)
+ gcompris.utils.item_focus_init(self.backitem, None)
+
+ self.mapActive = True
+
+ def move_back(self,event,target,item):
+ self.end()
+ self.start()
def config(self):
print("dicey_dicey config.")
@@ -449,12 +604,14 @@ class Gcompris_dicey_dicey:
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()
+ self.board_paused = pause
+ if(pause == 0):
+ self.gamewon = 0
+ self.counter +=1
+ if (self.counter == 2):
+ self.increment_level()
+ self.end()
+ self.start()
def set_level(self, level):
gcompris.sound.play_ogg("sounds/receive.wav")
diff --git a/src/dicey_dicey-activity/init_path.sh b/src/dicey_dicey-activity/init_path.sh
index 522da4b..5b6958f 100755
--- a/src/dicey_dicey-activity/init_path.sh
+++ b/src/dicey_dicey-activity/init_path.sh
@@ -3,7 +3,6 @@
path=$1
activity=dicey_dicey
plugindir=$path/../boards/.libs
-pythonplugindir=$path/../braille_alphabets-activity:
-$path/../dicey_dicey-activity
+pythonplugindir=$path/../braille_alphabets-activity:$path/../dicey_dicey-activity
resourcedir=$path/resources
section="/experimental"
diff --git a/src/dicey_dicey-activity/resources/dicey_dicey/back.png b/src/dicey_dicey-activity/resources/dicey_dicey/back.png
new file mode 100644
index 0000000..2701f21
Binary files /dev/null and b/src/dicey_dicey-activity/resources/dicey_dicey/back.png differ
diff --git a/src/dicey_dicey-activity/resources/dicey_dicey/cube.svg b/src/dicey_dicey-activity/resources/dicey_dicey/cube.svg
new file mode 100644
index 0000000..081e85f
--- /dev/null
+++ b/src/dicey_dicey-activity/resources/dicey_dicey/cube.svg
@@ -0,0 +1,215 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Sodipodi ("http://www.sodipodi.com/") -->
+
+<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"
+ id="svg602"
+ sodipodi:version="0.32"
+ width="83.127678"
+ height="65.000015"
+ xml:space="preserve"
+ sodipodi:docname="plus (copy).svg"
+ inkscape:version="0.48.0 r9654"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
+ sodipodi:modified="true"
+ version="1.0"><metadata
+ id="metadata28"><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><defs
+ id="defs604"><linearGradient
+ id="linearGradient3294"><stop
+ id="stop3296"
+ offset="0"
+ style="stop-color:#cf4700;stop-opacity:0.29019609;" /><stop
+ id="stop3298"
+ offset="1"
+ style="stop-color:#ffffff;stop-opacity:1;" /></linearGradient><inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 32.500008 : 1"
+ inkscape:vp_y="6.1230318e-14 : 1000 : 0"
+ inkscape:vp_z="83.127678 : 32.500008 : 1"
+ inkscape:persp3d-origin="41.563839 : 21.666672 : 1"
+ id="perspective2440" /><linearGradient
+ id="linearGradient641"><stop
+ style="stop-color:#005d00;stop-opacity:0.2902;"
+ offset="0"
+ id="stop642" /><stop
+ style="stop-color:#ffffff;stop-opacity:1;"
+ offset="1"
+ id="stop643" /></linearGradient><linearGradient
+ id="linearGradient612"><stop
+ style="stop-color:#00cf00;stop-opacity:0.2902;"
+ offset="0"
+ id="stop613" /><stop
+ style="stop-color:#ffffff;stop-opacity:1;"
+ offset="1"
+ id="stop614" /></linearGradient><linearGradient
+ id="linearGradient608"><stop
+ style="stop-color:#d7d7d5;stop-opacity:1;"
+ offset="0"
+ id="stop609" /><stop
+ style="stop-color:#ffffff;stop-opacity:1;"
+ offset="1"
+ id="stop610" /></linearGradient><linearGradient
+ xlink:href="#linearGradient612"
+ id="linearGradient611"
+ x1="0.49664423"
+ y1="0.98913556"
+ x2="0.48993284"
+ y2="-0.22826068" /><linearGradient
+ xlink:href="#linearGradient641"
+ id="linearGradient634" /><linearGradient
+ xlink:href="#linearGradient641"
+ id="linearGradient635"
+ x1="0.015384111"
+ y1="0.023437124"
+ x2="0.98461509"
+ y2="0.9843747" /><linearGradient
+ xlink:href="#linearGradient641"
+ id="linearGradient644"
+ x1="0.011364"
+ y1="0.0078126118"
+ x2="1.0454547"
+ y2="1.0000002" /><radialGradient
+ xlink:href="#linearGradient608"
+ id="radialGradient646" /><radialGradient
+ xlink:href="#linearGradient608"
+ id="radialGradient647"
+ cx="0.50781542"
+ cy="0.5"
+ r="0.3381981"
+ fx="0.50781542"
+ fy="0.5" /><linearGradient
+ xlink:href="#linearGradient641"
+ id="linearGradient770" /><radialGradient
+ xlink:href="#linearGradient608"
+ id="radialGradient784"
+ cx="0.50000006"
+ cy="0.5"
+ r="0.5"
+ fx="0.50000006"
+ fy="0.5"
+ spreadMethod="pad" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient612"
+ id="linearGradient2188"
+ x1="234.46304"
+ y1="735.4422"
+ x2="233.05591"
+ y2="480.19824"
+ gradientTransform="scale(1.8041932,0.5542644)"
+ gradientUnits="userSpaceOnUse" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient641"
+ id="linearGradient2190"
+ x1="67.778114"
+ y1="71.016434"
+ x2="104.75815"
+ y2="107.68004"
+ gradientTransform="scale(1.0001571,0.9998429)"
+ gradientUnits="userSpaceOnUse" /><radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient608"
+ id="radialGradient2192"
+ cx="93.844109"
+ cy="89.748573"
+ fx="93.844109"
+ fy="89.748573"
+ r="14.205347"
+ gradientTransform="scale(0.9547881,1.0473528)"
+ gradientUnits="userSpaceOnUse" />
+<radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient608"
+ id="radialGradient2454"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.9424924,0,0,1.0338651,-46.984201,-58.319797)"
+ cx="91.066788"
+ cy="89.851685"
+ fx="91.066788"
+ fy="89.851685"
+ r="14.205347" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient612"
+ id="linearGradient2460"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.3737772,0,0,0.1148277,-46.724535,-58.643902)"
+ x1="234.46304"
+ y1="735.4422"
+ x2="233.05591"
+ y2="480.19824" /></defs><sodipodi:namedview
+ id="base"
+ inkscape:zoom="5.7622747"
+ inkscape:cx="34.127764"
+ inkscape:cy="29.590706"
+ inkscape:window-width="1280"
+ inkscape:window-height="701"
+ inkscape:window-x="0"
+ inkscape:window-y="37"
+ inkscape:current-layer="svg602"
+ showgrid="false"
+ inkscape:window-maximized="1" /><g
+ id="g2422"
+ transform="translate(-0.5206277,0.3470856)"><g
+ transform="translate(0.6941703,-0.1735426)"
+ style="opacity:0.7;fill:#800080"
+ id="g2464"><rect
+ style="font-size:12px;fill:#800080;fill-opacity:1;fill-rule:evenodd"
+ id="rect2446"
+ width="83.127678"
+ height="65.000015"
+ x="-0.26069063"
+ y="0.047550984"
+ ry="9.5005054"
+ rx="9.5005054" /><rect
+ style="font-size:12px;fill:#800080;fill-opacity:1;fill-rule:evenodd"
+ id="rect2448"
+ width="78.367561"
+ height="60.06572"
+ x="1.7308865"
+ y="2.0391586"
+ ry="6.7028937"
+ rx="6.7028937" /><rect
+ style="font-size:12px;fill:#800080;fill-opacity:1;fill-rule:evenodd"
+ id="rect2450"
+ width="78.367561"
+ height="24.07522"
+ x="1.7308865"
+ y="2.0391586"
+ ry="7.2771926"
+ rx="7.2771926" /></g></g><text
+ style="font-size:71.07279204999998967px;font-style:normal;font-weight:bold;writing-mode:lr-tb;text-anchor:start;fill:url(#radialGradient2454);fill-opacity:1;stroke:none;stroke-width:1pt;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Courier"
+ x="19.654245"
+ y="54.475109"
+ id="text1097"
+ transform="scale(0.9944733,1.0055574)"><tspan
+ id="tspan1098"
+ style="fill:url(#radialGradient2454)" /></text>
+
+
+
+
+
+
+<path
+ sodipodi:type="arc"
+ style="opacity:0.82743363;fill:#ffffff;fill-opacity:0.92920353"
+ id="path2567"
+ sodipodi:cx="43.906273"
+ sodipodi:cy="38.448002"
+ sodipodi:rx="1.2147981"
+ sodipodi:ry="0"
+ d="M 45.121071,38.448002 A 1.2147981,0 0 1 1 42.691475,38.448002 A 1.2147981,0 0 1 1 45.121071,38.448002 z" /><path
+ style="opacity:0.82743363000000003;fill:#800080;fill-opacity:0.92920353000000000"
+ d="M 8.2703701,65.058008 C 4.7957527,64.649801 1.9157859,62.354654 0.53023236,58.889619 L 0.11386901,57.848364 L 0.067571317,33.244912 C 0.01645088,6.0776856 -0.035322077,7.4657364 1.1105223,5.2828433 C 1.9311635,3.719485 3.6464757,2.0694751 5.233375,1.3169563 C 5.9492382,0.97749141 6.9487827,0.6140759 7.4545846,0.50937072 C 8.1031896,0.37510604 18.155666,0.31899972 41.562625,0.31899972 C 77.7472,0.31899972 75.6049,0.26186777 77.713566,1.2831068 C 80.338958,2.5545995 82.298863,5.1930402 82.801947,8.1331204 C 82.937945,8.9279367 82.979469,16.336247 82.94392,33.465632 L 82.893678,57.674821 L 82.442461,58.833862 C 81.271517,61.841711 79.080358,63.874633 75.951975,64.85564 C 75.178031,65.098331 71.530461,65.13058 42.197944,65.154038 C 24.110469,65.168503 8.8430606,65.125287 8.2703701,65.058006 L 8.2703701,65.058008 z"
+ id="path2575" /><path
+ style="opacity:0.82743363;fill:#f9f9f9;fill-opacity:0.92920353"
+ d="M -7.6087756,3.6000642 C -7.4048546,3.4555552 -7.4505366,3.4318692 -7.8196496,3.4907272 C -8.0788016,3.5320512 -8.3130866,3.5049752 -8.3402766,3.4305582 C -8.3674676,3.3561422 -8.5037226,3.2698742 -8.6430616,3.2388532 C -8.7824006,3.2078302 -9.1626296,2.8700752 -9.4880146,2.4882812 C -9.8133986,2.1064882 -10.128915,1.7550642 -10.189156,1.7073402 C -10.249397,1.6596152 -10.321627,1.4643802 -10.349663,1.2734832 C -10.392196,0.98390317 -10.691319,-8.7188898 -10.722833,-10.831112 L -10.732543,-11.481896 L -16.242519,-11.506524 C -19.273007,-11.520067 -21.44012,-11.581064 -21.058326,-11.642071 C -20.490755,-11.732764 -20.650933,-11.771433 -21.936628,-11.854102 C -22.801485,-11.909712 -23.668641,-12.040591 -23.863633,-12.144949 C -24.467193,-12.467965 -25.646479,-13.517285 -25.533225,-13.630539 C -25.47415,-13.689615 -25.497401,-13.738024 -25.584894,-13.738115 C -25.672389,-13.738205 -25.769084,-14.319548 -25.799771,-15.029986 C -25.843087,-16.032719 -25.778031,-16.496976 -2
5.508983,-17.105207 C -25.158707,-17.897071 -24.199795,-18.975768 -23.738594,-19.096759 C -22.890866,-19.31915 -20.079744,-19.444398 -15.721892,-19.453935 L -10.732543,-19.464855 L -10.689157,-24.19389 C -10.665295,-26.794859 -10.645771,-29.716075 -10.645771,-30.685482 C -10.645771,-31.654889 -10.578834,-32.406528 -10.497023,-32.35579 C -10.415208,-32.305054 -10.404053,-32.439288 -10.472229,-32.65409 C -10.540405,-32.868892 -10.529248,-33.005444 -10.447435,-32.957536 C -10.365625,-32.90963 -10.027266,-33.245402 -9.6955266,-33.703696 C -9.3637876,-34.161991 -9.0514126,-34.527361 -9.0013556,-34.515628 C -8.7978566,-34.467926 -8.1295096,-34.769958 -8.1967156,-34.879253 C -8.3394906,-35.111444 -6.2892496,-35.069768 -5.4264016,-34.82294 C -4.7844626,-34.639308 -4.3584756,-34.365367 -3.8556056,-33.812811 C -3.4761106,-33.39582 -3.1956576,-32.964523 -3.2323756,-32.854369 C -3.2690936,-32.744218 -3.2340576,-32.654274 -3.1545156,-32.654498 C -3.0749746,-32.654722 -3.0199696,-32.01044
5 -3.0322806,-31.222772 C -3.0526996,-29.916541 -3.0435456,-29.874549 -2.9281816,-30.745122 C -2.8586136,-31.270088 -2.8094956,-28.946752 -2.8190266,-25.582154 L -2.8363546,-19.4647 L -0.31998764,-19.452896 C 1.0640144,-19.446402 4.1044214,-19.403907 6.4364714,-19.358461 L 10.676562,-19.275832 L 11.261401,-18.632789 C 12.17442,-17.628903 12.527215,-16.709191 12.570722,-15.219484 C 12.591736,-14.499819 12.545755,-13.911116 12.468535,-13.911249 C 12.391316,-13.911383 12.353895,-13.852922 12.385377,-13.781335 C 12.47156,-13.585369 10.86167,-12.09725 10.496923,-12.035723 C 9.1007974,-11.80021 6.1321084,-11.671009 1.9527314,-11.663866 L -2.9765686,-11.655439 L -2.8858836,-5.7983768 C -2.8360116,-2.5769928 -2.8537286,-0.37083283 -2.9252576,-0.89579883 C -3.0497606,-1.8095408 -3.0543396,-1.7928558 -3.0326036,-0.50492383 C -3.0201176,0.23502517 -3.0632066,0.84025317 -3.1283596,0.84003117 C -3.1935126,0.83981117 -3.2980336,1.0009802 -3.3606256,1.1981882 C -3.5055486,1.6548072 -4.9389
186,3.2780932 -5.0760776,3.1409332 C -5.1327836,3.0842262 -5.1791796,3.1335512 -5.1791796,3.2505412 C -5.1791796,3.3675292 -5.2572736,3.4149852 -5.3527226,3.3559942 C -5.4481706,3.2970042 -5.5262646,3.3329302 -5.5262646,3.4358312 C -5.5262646,3.5515442 -5.7016576,3.5788992 -5.9860056,3.5075332 C -6.3095576,3.4263292 -6.4093396,3.4510522 -6.3228496,3.5909992 C -6.2369196,3.7300302 -6.4510126,3.7890512 -7.0345196,3.7871942 C -7.6718986,3.7851652 -7.8075826,3.7409502 -7.6087756,3.6000642 z"
+ id="path2579" /></svg>
\ No newline at end of file
diff --git a/src/dicey_dicey-activity/resources/dicey_dicey/dice.svg b/src/dicey_dicey-activity/resources/dicey_dicey/dice.svg
old mode 100755
new mode 100644
diff --git a/src/dicey_dicey-activity/resources/dicey_dicey/dice_area.svg b/src/dicey_dicey-activity/resources/dicey_dicey/dice_area.svg
old mode 100755
new mode 100644
diff --git a/src/dicey_dicey-activity/resources/dicey_dicey/dicey0.svg b/src/dicey_dicey-activity/resources/dicey_dicey/dicey0.svg
old mode 100755
new mode 100644
diff --git a/src/dicey_dicey-activity/resources/dicey_dicey/diceyo.svg b/src/dicey_dicey-activity/resources/dicey_dicey/diceyo.svg
old mode 100755
new mode 100644
diff --git a/src/dicey_dicey-activity/resources/dicey_dicey/divide.svg b/src/dicey_dicey-activity/resources/dicey_dicey/divide.svg
old mode 100755
new mode 100644
diff --git a/src/dicey_dicey-activity/resources/dicey_dicey/minus.svg b/src/dicey_dicey-activity/resources/dicey_dicey/minus.svg
old mode 100755
new mode 100644
diff --git a/src/dicey_dicey-activity/resources/dicey_dicey/multiply.svg b/src/dicey_dicey-activity/resources/dicey_dicey/multiply.svg
old mode 100755
new mode 100644
diff --git a/src/dicey_dicey-activity/resources/dicey_dicey/plus.svg b/src/dicey_dicey-activity/resources/dicey_dicey/plus.svg
old mode 100755
new mode 100644
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]