[gcompris] sudoku, level 5 was broken
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] sudoku, level 5 was broken
- Date: Wed, 19 Sep 2012 22:15:52 +0000 (UTC)
commit fb8382702309c673c126f63fab76bb6a58bd2141
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Thu Sep 20 00:14:43 2012 +0200
sudoku, level 5 was broken
One sublevel of the level 5 was invalid and caused
a python error.
src/sudoku-activity/sudoku.py | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/sudoku-activity/sudoku.py b/src/sudoku-activity/sudoku.py
index 23f0002..7d348e5 100644
--- a/src/sudoku-activity/sudoku.py
+++ b/src/sudoku-activity/sudoku.py
@@ -781,10 +781,10 @@ class Gcompris_sudoku:
],
[ # Level 5
[
- ['.','B','.','.'],
+ ['.','.','.','.'],
['D','A','B','.'],
- ['.','D','A','B'],
- ['.','.','D','.']
+ ['C','.','A','B'],
+ ['.','.','.','D']
],
[
['A','B','C','D'],
@@ -804,11 +804,13 @@ class Gcompris_sudoku:
['.','C','D','B'],
['.','D','.','.']
],
+ [
['C','B','.','D'],
['.','.','.','C'],
['A','.','.','.'],
['B','.','C','A']
],
+ ],
[ # Level 6
[
['C','.','.','D'],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]