Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/game_map.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-01-31 02:32:01 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-01-31 02:32:01 (GMT)
commitf38aa41dc7e7553b7cd3d5c2b0ce744dd1262e77 (patch)
tree1ebb402c078679e5571ab3d70df7f602b271c097 /game_map.py
parentf995cc648b6ef9172528c44ef444d51b66f29bcc (diff)
Add a object to show a top view of the map
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'game_map.py')
-rw-r--r--game_map.py13
1 files changed, 5 insertions, 8 deletions
diff --git a/game_map.py b/game_map.py
index 42ed8b2..e77e33c 100644
--- a/game_map.py
+++ b/game_map.py
@@ -15,13 +15,13 @@ The symbol # is a door.
+--#--+--#--------+--#--+
1 | | C # |
| # | |
- + B +--------#--+ E +
- 2 | | D # |
+ + B +-----------+ E +
+ 2 | | D | |
| # | |
- +--#--+--#--------+--#--+
- 3 | | G # |
+ +--#--+-----------+-----+
+ 3 | | G | |
| # | |
- + F +--------#--+ I +
+ + F +-----------+ I +
4 | # H # |
| | | |
+--#--+--#--------+--#--+
@@ -54,12 +54,9 @@ class GameMap():
{'position': [1, 0, 'S'], 'objects': ['door_2']},
{'position': [3, 0, 'S'], 'objects': ['door_3']},
{'position': [0, 1, 'E'], 'objects': ['door_4']},
- {'position': [2, 1, 'S'], 'objects': ['door_5']},
{'position': [2, 1, 'E'], 'objects': ['door_6']},
{'position': [0, 2, 'S'], 'objects': ['door_7']},
{'position': [0, 2, 'E'], 'objects': ['door_8']},
- {'position': [1, 2, 'S'], 'objects': ['door_9']},
- {'position': [3, 2, 'E'], 'objects': ['door_10']},
{'position': [4, 2, 'S'], 'objects': ['door_11']},
{'position': [0, 3, 'E'], 'objects': ['door_12']},
{'position': [3, 3, 'E'], 'objects': ['door_13']},