Merge lp:~silver-fox/ubuntu-desktop-accomplishments/mahjongg into lp:ubuntu-desktop-accomplishments

Proposed by s.fox
Status: Merged
Merged at revision: 11
Proposed branch: lp:~silver-fox/ubuntu-desktop-accomplishments/mahjongg
Merge into: lp:ubuntu-desktop-accomplishments
Diff against target: 347 lines (+244/-0)
20 files modified
accomplishments/ubuntu-desktop/en/gaming/mahjongg-bridges.accomplishment (+9/-0)
accomplishments/ubuntu-desktop/en/gaming/mahjongg-cloud.accomplishment (+9/-0)
accomplishments/ubuntu-desktop/en/gaming/mahjongg-confounding.accomplishment (+9/-0)
accomplishments/ubuntu-desktop/en/gaming/mahjongg-difficult.accomplishment (+8/-0)
accomplishments/ubuntu-desktop/en/gaming/mahjongg-dragon.accomplishment (+9/-0)
accomplishments/ubuntu-desktop/en/gaming/mahjongg-easy.accomplishment (+9/-0)
accomplishments/ubuntu-desktop/en/gaming/mahjongg-master.accomplishment (+9/-0)
accomplishments/ubuntu-desktop/en/gaming/mahjongg-pyramid.accomplishment (+9/-0)
accomplishments/ubuntu-desktop/en/gaming/mahjongg-tictactoe.accomplishment (+9/-0)
accomplishments/ubuntu-desktop/en/gaming/mahjongg-ziggurat.accomplishment (+9/-0)
scripts/ubuntu-desktop/gaming/mahjongg-bridges.py (+10/-0)
scripts/ubuntu-desktop/gaming/mahjongg-cloud.py (+10/-0)
scripts/ubuntu-desktop/gaming/mahjongg-confounding.py (+10/-0)
scripts/ubuntu-desktop/gaming/mahjongg-difficult.py (+10/-0)
scripts/ubuntu-desktop/gaming/mahjongg-dragon.py (+10/-0)
scripts/ubuntu-desktop/gaming/mahjongg-easy.py (+10/-0)
scripts/ubuntu-desktop/gaming/mahjongg-master.py (+65/-0)
scripts/ubuntu-desktop/gaming/mahjongg-pyramid.py (+10/-0)
scripts/ubuntu-desktop/gaming/mahjongg-tictactoe.py (+10/-0)
scripts/ubuntu-desktop/gaming/mahjongg-ziggurat.py (+10/-0)
To merge this branch: bzr merge lp:~silver-fox/ubuntu-desktop-accomplishments/mahjongg
Reviewer Review Type Date Requested Status
Ubuntu Desktop Accomplishments Reviewers Pending
Review via email: mp+108780@code.launchpad.net

Description of the change

corrected a term error in all the .accomplishment files for mahjongg

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'accomplishments/ubuntu-desktop/en/gaming'
2=== added file 'accomplishments/ubuntu-desktop/en/gaming/mahjongg-bridges.accomplishment'
3--- accomplishments/ubuntu-desktop/en/gaming/mahjongg-bridges.accomplishment 1970-01-01 00:00:00 +0000
4+++ accomplishments/ubuntu-desktop/en/gaming/mahjongg-bridges.accomplishment 2012-06-05 16:09:20 +0000
5@@ -0,0 +1,9 @@
6+[accomplishment]
7+title = Completed Mahjongg - The Four Bridges Level
8+description = You have completed Mahjongg - The Four Bridges Level
9+category = Games:Mahjongg
10+collection = ubuntu-desktop
11+icon = mahjongg.png
12+summary = Mahjongg is a solitaire (one player) version of the classic Eastern tile game, Mahjongg. The objective is to select pairs of similar tiles. To achieve this accomplishment all you need to do is to clear the grid on the The Four Bridges level
13+help = https://live.gnome.org/Mahjongg
14+author = s.fox <silver-fox@ubuntu.com>
15
16=== added file 'accomplishments/ubuntu-desktop/en/gaming/mahjongg-cloud.accomplishment'
17--- accomplishments/ubuntu-desktop/en/gaming/mahjongg-cloud.accomplishment 1970-01-01 00:00:00 +0000
18+++ accomplishments/ubuntu-desktop/en/gaming/mahjongg-cloud.accomplishment 2012-06-05 16:09:20 +0000
19@@ -0,0 +1,9 @@
20+[accomplishment]
21+title = Completed Mahjongg - The Cloud Level
22+description = You have completed Mahjongg - The Cloud Level
23+category = Games:Mahjongg
24+collection = ubuntu-desktop
25+icon = mahjongg.png
26+summary = Mahjongg is a solitaire (one player) version of the classic Eastern tile game, Mahjongg. The objective is to select pairs of similar tiles. To achieve this accomplishment all you need to do is to clear the grid on the The Cloud level
27+help = https://live.gnome.org/Mahjongg
28+author = s.fox <silver-fox@ubuntu.com>
29
30=== added file 'accomplishments/ubuntu-desktop/en/gaming/mahjongg-confounding.accomplishment'
31--- accomplishments/ubuntu-desktop/en/gaming/mahjongg-confounding.accomplishment 1970-01-01 00:00:00 +0000
32+++ accomplishments/ubuntu-desktop/en/gaming/mahjongg-confounding.accomplishment 2012-06-05 16:09:20 +0000
33@@ -0,0 +1,9 @@
34+[accomplishment]
35+title = Completed Mahjongg - The Confounding Cross Level
36+description = You have completed Mahjongg - The Confounding Cross Level
37+category = Games:Mahjongg
38+collection = ubuntu-desktop
39+icon = mahjongg.png
40+summary = Mahjongg is a solitaire (one player) version of the classic Eastern tile game, Mahjongg. The objective is to select pairs of similar tiles. To achieve this accomplishment all you need to do is to clear the grid on the The Confounding Cross level
41+help = https://live.gnome.org/Mahjongg
42+author = s.fox <silver-fox@ubuntu.com>
43
44=== added file 'accomplishments/ubuntu-desktop/en/gaming/mahjongg-difficult.accomplishment'
45--- accomplishments/ubuntu-desktop/en/gaming/mahjongg-difficult.accomplishment 1970-01-01 00:00:00 +0000
46+++ accomplishments/ubuntu-desktop/en/gaming/mahjongg-difficult.accomplishment 2012-06-05 16:09:20 +0000
47@@ -0,0 +1,8 @@
48+[accomplishment]
49+title = Completed Mahjongg on Difficult
50+description = You have completed Mahjongg on Difficult
51+category = Games:Mahjongg
52+collection = ubuntu-desktop
53+icon = mahjongg.png
54+summary = Mahjongg is a solitaire (one player) version of the classic Eastern tile game, Mahjongg. The objective is to select pairs of similar tiles. To achieve this accomplishment all you need to do is to clear the grid on the Difficult difficulty setting.
55+help = https://live.gnome.org/Mahjongg
56
57=== added file 'accomplishments/ubuntu-desktop/en/gaming/mahjongg-dragon.accomplishment'
58--- accomplishments/ubuntu-desktop/en/gaming/mahjongg-dragon.accomplishment 1970-01-01 00:00:00 +0000
59+++ accomplishments/ubuntu-desktop/en/gaming/mahjongg-dragon.accomplishment 2012-06-05 16:09:20 +0000
60@@ -0,0 +1,9 @@
61+[accomplishment]
62+title = Completed Mahjongg - The Red Dragon Level
63+description = You have completed Mahjongg - The Red Dragon Level
64+category = Games:Mahjongg
65+collection = ubuntu-desktop
66+icon = mahjongg.png
67+summary = Mahjongg is a solitaire (one player) version of the classic Eastern tile game, Mahjongg. The objective is to select pairs of similar tiles. To achieve this accomplishment all you need to do is to clear the grid on the The Red Dragon level
68+help = https://live.gnome.org/Mahjongg
69+author = s.fox <silver-fox@ubuntu.com>
70
71=== added file 'accomplishments/ubuntu-desktop/en/gaming/mahjongg-easy.accomplishment'
72--- accomplishments/ubuntu-desktop/en/gaming/mahjongg-easy.accomplishment 1970-01-01 00:00:00 +0000
73+++ accomplishments/ubuntu-desktop/en/gaming/mahjongg-easy.accomplishment 2012-06-05 16:09:20 +0000
74@@ -0,0 +1,9 @@
75+[accomplishment]
76+title = Completed Mahjongg on Easy
77+description = You have completed Mahjongg on Easy
78+category = Games:Mahjongg
79+collection = ubuntu-desktop
80+icon = mahjongg.png
81+summary = Mahjongg is a solitaire (one player) version of the classic Eastern tile game, Mahjongg. The objective is to select pairs of similar tiles. To achieve this accomplishment all you need to do is to clear the grid on the Easy difficulty setting.
82+help = https://live.gnome.org/Mahjongg
83+author = s.fox <silver-fox@ubuntu.com>
84
85=== added file 'accomplishments/ubuntu-desktop/en/gaming/mahjongg-master.accomplishment'
86--- accomplishments/ubuntu-desktop/en/gaming/mahjongg-master.accomplishment 1970-01-01 00:00:00 +0000
87+++ accomplishments/ubuntu-desktop/en/gaming/mahjongg-master.accomplishment 2012-06-05 16:09:20 +0000
88@@ -0,0 +1,9 @@
89+[accomplishment]
90+title = Completed All Mahjongg Levels
91+description = You have completed all Mahjongg levels
92+category = Games:Mahjongg
93+collection = ubuntu-desktop
94+icon = mahjongg.png
95+summary = Mahjongg is a solitaire (one player) version of the classic Eastern tile game, Mahjongg. The objective is to select pairs of similar tiles. To achieve this accomplishment all you need to do is to clear the grid on all levels.
96+help = https://live.gnome.org/Mahjongg
97+author = s.fox <silver-fox@ubuntu.com>
98
99=== added file 'accomplishments/ubuntu-desktop/en/gaming/mahjongg-pyramid.accomplishment'
100--- accomplishments/ubuntu-desktop/en/gaming/mahjongg-pyramid.accomplishment 1970-01-01 00:00:00 +0000
101+++ accomplishments/ubuntu-desktop/en/gaming/mahjongg-pyramid.accomplishment 2012-06-05 16:09:20 +0000
102@@ -0,0 +1,9 @@
103+[accomplishment]
104+title = Completed Mahjongg - The Pyramid's Wall Level
105+description = You have completed Mahjongg - The Pyramid's Wall Level
106+category = Games:Mahjongg
107+collection = ubuntu-desktop
108+icon = mahjongg.png
109+summary = Mahjongg is a solitaire (one player) version of the classic Eastern tile game, Mahjongg. The objective is to select pairs of similar tiles. To achieve this accomplishment all you need to do is to clear the grid on the The Pyramid's Wall level
110+help = https://live.gnome.org/Mahjongg
111+author = s.fox <silver-fox@ubuntu.com>
112
113=== added file 'accomplishments/ubuntu-desktop/en/gaming/mahjongg-tictactoe.accomplishment'
114--- accomplishments/ubuntu-desktop/en/gaming/mahjongg-tictactoe.accomplishment 1970-01-01 00:00:00 +0000
115+++ accomplishments/ubuntu-desktop/en/gaming/mahjongg-tictactoe.accomplishment 2012-06-05 16:09:20 +0000
116@@ -0,0 +1,9 @@
117+[accomplishment]
118+title = Completed Mahjongg - The Tic-Tac-Toe Level
119+description = You have completed Mahjongg - The Tic-Tac-Toe Level
120+category = Games:Mahjongg
121+collection = ubuntu-desktop
122+icon = mahjongg.png
123+summary = Mahjongg is a solitaire (one player) version of the classic Eastern tile game, Mahjongg. The objective is to select pairs of similar tiles. To achieve this accomplishment all you need to do is to clear the grid on the The Tic-Tac-Toe level
124+help = https://live.gnome.org/Mahjongg
125+author = s.fox <silver-fox@ubuntu.com>
126
127=== added file 'accomplishments/ubuntu-desktop/en/gaming/mahjongg-ziggurat.accomplishment'
128--- accomplishments/ubuntu-desktop/en/gaming/mahjongg-ziggurat.accomplishment 1970-01-01 00:00:00 +0000
129+++ accomplishments/ubuntu-desktop/en/gaming/mahjongg-ziggurat.accomplishment 2012-06-05 16:09:20 +0000
130@@ -0,0 +1,9 @@
131+[accomplishment]
132+title = Completed Mahjongg - The Ziggurat Level
133+description = You have completed Mahjongg - The Ziggurat Level
134+category = Games:Mahjongg
135+collection = ubuntu-desktop
136+icon = mahjongg.png
137+summary = Mahjongg is a solitaire (one player) version of the classic Eastern tile game, Mahjongg. The objective is to select pairs of similar tiles. To achieve this accomplishment all you need to do is to clear the grid on the The Ziggurat level
138+help = https://live.gnome.org/Mahjongg
139+author = s.fox <silver-fox@ubuntu.com>
140
141=== added file 'accomplishments/ubuntu-desktop/trophyimages/mahjongg.png'
142Binary files accomplishments/ubuntu-desktop/trophyimages/mahjongg.png 1970-01-01 00:00:00 +0000 and accomplishments/ubuntu-desktop/trophyimages/mahjongg.png 2012-06-05 16:09:20 +0000 differ
143=== added directory 'scripts/ubuntu-desktop/gaming'
144=== added file 'scripts/ubuntu-desktop/gaming/mahjongg-bridges.py'
145--- scripts/ubuntu-desktop/gaming/mahjongg-bridges.py 1970-01-01 00:00:00 +0000
146+++ scripts/ubuntu-desktop/gaming/mahjongg-bridges.py 2012-06-05 16:09:20 +0000
147@@ -0,0 +1,10 @@
148+#!/usr/bin/python
149+import sys, os
150+filePath = '/var/games/mahjongg.bridges.scores'
151+fileSize = os.path.getsize(filePath)
152+if fileSize > 0:
153+ #user has completed mahjongg bridges level
154+ sys.exit(0)
155+else:
156+ #user has not completed mahjongg bridges level
157+ sys.exit(1)
158
159=== added file 'scripts/ubuntu-desktop/gaming/mahjongg-cloud.py'
160--- scripts/ubuntu-desktop/gaming/mahjongg-cloud.py 1970-01-01 00:00:00 +0000
161+++ scripts/ubuntu-desktop/gaming/mahjongg-cloud.py 2012-06-05 16:09:20 +0000
162@@ -0,0 +1,10 @@
163+#!/usr/bin/python
164+import sys, os
165+filePath = '/var/games/mahjongg.cloud.scores'
166+fileSize = os.path.getsize(filePath)
167+if fileSize > 0:
168+ #user has completed mahjongg cloud level
169+ sys.exit(0)
170+else:
171+ #user has not completed mahjongg cloud level
172+ sys.exit(1)
173
174=== added file 'scripts/ubuntu-desktop/gaming/mahjongg-confounding.py'
175--- scripts/ubuntu-desktop/gaming/mahjongg-confounding.py 1970-01-01 00:00:00 +0000
176+++ scripts/ubuntu-desktop/gaming/mahjongg-confounding.py 2012-06-05 16:09:20 +0000
177@@ -0,0 +1,10 @@
178+#!/usr/bin/python
179+import sys, os
180+filePath = '/var/games/mahjongg.confounding.scores'
181+fileSize = os.path.getsize(filePath)
182+if fileSize > 0:
183+ #user has completed mahjongg confounding cross level
184+ sys.exit(0)
185+else:
186+ #user has not completed mahjongg confounding cross level
187+ sys.exit(1)
188
189=== added file 'scripts/ubuntu-desktop/gaming/mahjongg-difficult.py'
190--- scripts/ubuntu-desktop/gaming/mahjongg-difficult.py 1970-01-01 00:00:00 +0000
191+++ scripts/ubuntu-desktop/gaming/mahjongg-difficult.py 2012-06-05 16:09:20 +0000
192@@ -0,0 +1,10 @@
193+#!/usr/bin/python
194+import sys, os
195+filePath = '/var/games/mahjongg.difficult.scores'
196+fileSize = os.path.getsize(filePath)
197+if fileSize > 0:
198+ #user has completed mahjongg on difficult
199+ sys.exit(0)
200+else:
201+ #user has not completed mahjongg on difficult
202+ sys.exit(1)
203
204=== added file 'scripts/ubuntu-desktop/gaming/mahjongg-dragon.py'
205--- scripts/ubuntu-desktop/gaming/mahjongg-dragon.py 1970-01-01 00:00:00 +0000
206+++ scripts/ubuntu-desktop/gaming/mahjongg-dragon.py 2012-06-05 16:09:20 +0000
207@@ -0,0 +1,10 @@
208+#!/usr/bin/python
209+import sys, os
210+filePath = '/var/games/mahjongg.dragon.scores'
211+fileSize = os.path.getsize(filePath)
212+if fileSize > 0:
213+ #user has completed mahjongg dragon level
214+ sys.exit(0)
215+else:
216+ #user has not completed mahjongg dragon level
217+ sys.exit(1)
218
219=== added file 'scripts/ubuntu-desktop/gaming/mahjongg-easy.py'
220--- scripts/ubuntu-desktop/gaming/mahjongg-easy.py 1970-01-01 00:00:00 +0000
221+++ scripts/ubuntu-desktop/gaming/mahjongg-easy.py 2012-06-05 16:09:20 +0000
222@@ -0,0 +1,10 @@
223+#!/usr/bin/python
224+import sys, os
225+filePath = '/var/games/mahjongg.easy.scores'
226+fileSize = os.path.getsize(filePath)
227+if fileSize > 0:
228+ #user has completed mahjongg on easy
229+ sys.exit(0)
230+else:
231+ #user has not completed mahjongg on easy
232+ sys.exit(1)
233
234=== added file 'scripts/ubuntu-desktop/gaming/mahjongg-master.py'
235--- scripts/ubuntu-desktop/gaming/mahjongg-master.py 1970-01-01 00:00:00 +0000
236+++ scripts/ubuntu-desktop/gaming/mahjongg-master.py 2012-06-05 16:09:20 +0000
237@@ -0,0 +1,65 @@
238+#!/usr/bin/python
239+import sys, os
240+runningTotal = 0
241+
242+#bridges
243+filePath = '/var/games/mahjongg.bridges.scores'
244+fileSize = os.path.getsize(filePath)
245+if fileSize > 0:
246+ runningTotal = runningTotal +1
247+
248+#cloud
249+filePath = '/var/games/mahjongg.cloud.scores'
250+fileSize = os.path.getsize(filePath)
251+if fileSize > 0:
252+ runningTotal = runningTotal +1
253+
254+#confounding
255+filePath = '/var/games/mahjongg.confounding.scores'
256+fileSize = os.path.getsize(filePath)
257+if fileSize > 0:
258+ runningTotal = runningTotal +1
259+
260+#difficult
261+filePath = '/var/games/mahjongg.difficult.scores'
262+fileSize = os.path.getsize(filePath)
263+if fileSize > 0:
264+ runningTotal = runningTotal +1
265+
266+#dragon
267+filePath = '/var/games/mahjongg.dragon.scores'
268+fileSize = os.path.getsize(filePath)
269+if fileSize > 0:
270+ runningTotal = runningTotal +1
271+
272+#easy
273+filePath = '/var/games/mahjongg.easy.scores'
274+fileSize = os.path.getsize(filePath)
275+if fileSize > 0:
276+ runningTotal = runningTotal +1
277+
278+#pyramid
279+filePath = '/var/games/mahjongg.pyramid.scores'
280+fileSize = os.path.getsize(filePath)
281+if fileSize > 0:
282+ runningTotal = runningTotal +1
283+
284+#tic-tac-toe
285+filePath = '/var/games/mahjongg.tictactoe.scores'
286+fileSize = os.path.getsize(filePath)
287+if fileSize > 0:
288+ runningTotal = runningTotal +1
289+
290+#ziggurat
291+filePath = '/var/games/mahjongg.ziggurat.scores'
292+fileSize = os.path.getsize(filePath)
293+if fileSize > 0:
294+ runningTotal = runningTotal +1
295+
296+# 9 levels exist, therefore if running total is less than 9 then all levels have not been completed
297+if runningTotal < 9 :
298+ #user has not completed all mahjongg levels
299+ sys.exit(1)
300+else:
301+ #user has completed all mahjongg levels
302+ sys.exit(0)
303
304=== added file 'scripts/ubuntu-desktop/gaming/mahjongg-pyramid.py'
305--- scripts/ubuntu-desktop/gaming/mahjongg-pyramid.py 1970-01-01 00:00:00 +0000
306+++ scripts/ubuntu-desktop/gaming/mahjongg-pyramid.py 2012-06-05 16:09:20 +0000
307@@ -0,0 +1,10 @@
308+#!/usr/bin/python
309+import sys, os
310+filePath = '/var/games/mahjongg.pyramid.scores'
311+fileSize = os.path.getsize(filePath)
312+if fileSize > 0:
313+ #user has completed mahjongg pyramid level
314+ sys.exit(0)
315+else:
316+ #user has not completed mahjongg pyramid level
317+ sys.exit(1)
318
319=== added file 'scripts/ubuntu-desktop/gaming/mahjongg-tictactoe.py'
320--- scripts/ubuntu-desktop/gaming/mahjongg-tictactoe.py 1970-01-01 00:00:00 +0000
321+++ scripts/ubuntu-desktop/gaming/mahjongg-tictactoe.py 2012-06-05 16:09:20 +0000
322@@ -0,0 +1,10 @@
323+#!/usr/bin/python
324+import sys, os
325+filePath = '/var/games/mahjongg.tictactoe.scores'
326+fileSize = os.path.getsize(filePath)
327+if fileSize > 0:
328+ #user has completed mahjongg tic-tac-toe level
329+ sys.exit(0)
330+else:
331+ #user has not completed mahjongg tic-tac-toe level
332+ sys.exit(1)
333
334=== added file 'scripts/ubuntu-desktop/gaming/mahjongg-ziggurat.py'
335--- scripts/ubuntu-desktop/gaming/mahjongg-ziggurat.py 1970-01-01 00:00:00 +0000
336+++ scripts/ubuntu-desktop/gaming/mahjongg-ziggurat.py 2012-06-05 16:09:20 +0000
337@@ -0,0 +1,10 @@
338+#!/usr/bin/python
339+import sys, os
340+filePath = '/var/games/mahjongg.ziggurat.scores'
341+fileSize = os.path.getsize(filePath)
342+if fileSize > 0:
343+ #user has completed mahjongg ziggurat level
344+ sys.exit(0)
345+else:
346+ #user has not completed mahjongg ziggurat level
347+ sys.exit(1)

Subscribers

People subscribed via source and target branches