[gnome-nibbles/arnaudb/rework-warps: 8/8] Make levels more human readable, again.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles/arnaudb/rework-warps: 8/8] Make levels more human readable, again.
- Date: Sun, 21 Jun 2020 23:42:47 +0000 (UTC)
commit 35219dbdb3b835df1c006d2e826676db6aba35a5
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Jun 22 01:36:14 2020 +0200
Make levels more human readable, again.
data/levels/level008.gnl | 8 ++++----
data/levels/level011.gnl | 12 ++++++------
src/nibbles-game.vala | 1 +
src/nibbles-test.vala | 8 ++++----
4 files changed, 15 insertions(+), 14 deletions(-)
---
diff --git a/data/levels/level008.gnl b/data/levels/level008.gnl
index 04207fa..146a756 100644
--- a/data/levels/level008.gnl
+++ b/data/levels/level008.gnl
@@ -1,8 +1,8 @@
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛........┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃..........................................................................................┃
┃..........................................................................................┃
-┃..........................................................................................┃
-┃...R...............................┏┓...........................┏┓.....................S..┃
+┃..++..................................................................................++..┃
+┃..+R...............................┏┓...........................┏┓....................+S..┃
┃...................................┗╋┓..........................┃┃........................┃
┃....................................┗╋┓.........................┃┃........................┃
┃...........┏┓........................┗╋┓........................┃┃........................┃
@@ -59,8 +59,8 @@
┃.................┃┃.......................................................................┃
┃.................┃┃......................◀................................................┃
┃.................┃┃.......................................................................┃
-┃.................┗┛.......................................................................┃
-┃...S...................................................................................R..┃
+┃..++.............┗┛...................................................................++..┃
+┃..+S..................................................................................+R..┃
┃..........................................................................................┃
┃..........................................................................................┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓........┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
diff --git a/data/levels/level011.gnl b/data/levels/level011.gnl
index 511be32..33f7de2 100644
--- a/data/levels/level011.gnl
+++ b/data/levels/level011.gnl
@@ -5,8 +5,8 @@
┃..............▼..............┃┃............▼...............┃┃..............▼..............┃
┃.............................┃┃............................┃┃.............................┃
┃.............................┃┃............................┃┃.............................┃
-┃.............................┃┃............................┃┃.............................┃
-┃.............................┃┃.......R.............S......┃┃.............................┃
+┃.............................┃┃......++............++......┃┃.............................┃
+┃.............................┃┃......+R............+S......┃┃.............................┃
┃.............................┃┃............................┃┃.............................┃
┃.............................┃┃............................┃┃.............................┃
┃..............u..............┃┃............................┃┃..............t..............┃
@@ -30,8 +30,8 @@
┃......................................┗╋╋╋╋╋┓....┏╋┛......................................┃
┃.......................................┗╋╋╋╋╋┓..┏╋┛.......................................┃
┃........................................┗╋╋╋╋┛.┏╋┛........................................┃
-┃.........................................┗╋╋┛.┏╋┛.........................................┃
-┃..........V..............................┏╋┛.┏╋╋┓...............................V.........┃
+┃.........++..............................┗╋╋┛.┏╋┛..............................++.........┃
+┃.........+V..............................┏╋┛.┏╋╋┓..............................+V.........┃
┃........................................┏╋┛.┏╋╋╋╋┓........................................┃
┃.......................................┏╋┛..┗╋╋╋╋╋┓.......................................┃
┃......................................┏╋┛....┗╋╋╋╋╋┓......................................┃
@@ -55,8 +55,8 @@
┃.............................┃┃............................┃┃.............................┃
┃..............s..............┃┃............................┃┃..............r..............┃
┃.............................┃┃............................┃┃.............................┃
-┃.............................┃┃............................┃┃.............................┃
-┃.............................┃┃.......T.............U......┃┃.............................┃
+┃.............................┃┃......++............++......┃┃.............................┃
+┃.............................┃┃......+T............+U......┃┃.............................┃
┃.............................┃┃............................┃┃.............................┃
┃.............................┃┃............................┃┃.............................┃
┃..............▲..............┃┃................▲...........┃┃..............▲..............┃
diff --git a/src/nibbles-game.vala b/src/nibbles-game.vala
index 08f8f16..bc1a9e6 100644
--- a/src/nibbles-game.vala
+++ b/src/nibbles-game.vala
@@ -113,6 +113,7 @@ private class NibblesGame : Object
{
// readable empty tile, but the game internals use an 'a'
case '.':
+ case '+':
board[j, i] = (int) 'a';
break;
diff --git a/src/nibbles-test.vala b/src/nibbles-test.vala
index f0ffc9a..5f20448 100644
--- a/src/nibbles-test.vala
+++ b/src/nibbles-test.vala
@@ -87,8 +87,8 @@ namespace NibblesTest
"┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛........┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓",
"┃..........................................................................................┃",
"┃..........................................................................................┃",
- "┃..........................................................................................┃",
- "┃...R...............................┏┓...........................┏┓.....................S..┃",
+ "┃..++..................................................................................++..┃",
+ "┃..+R...............................┏┓...........................┏┓....................+S..┃",
"┃...u...............................┗╋┓..........................┃┃....................t...┃",
"┃....................................┗╋┓.........................┃┃........................┃",
"┃...........┏┓........................┗╋┓........................┃┃........................┃",
@@ -145,8 +145,8 @@ namespace NibblesTest
"┃.................┃┃.......................................................................┃",
"┃.................┃┃......................◀................................................┃",
"┃...s.............┃┃...................................................................r...┃",
- "┃.................┗┛.......................................................................┃",
- "┃...T...................................................................................U..┃",
+ "┃..++.............┗┛...................................................................++..┃",
+ "┃..+T..................................................................................+U..┃",
"┃..........................................................................................┃",
"┃..........................................................................................┃",
"┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓........┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]