diff --git a/src/carte.py b/src/carte.py index 0ae8ff3..5ef8f79 100644 --- a/src/carte.py +++ b/src/carte.py @@ -73,6 +73,8 @@ class Map: if teleporter_count: # not all teleporters are on edges return False + ### ATTENTION - we need to verify teleporters are in front of the other + # no ground tile on border if any(Tile.GRD in edges): return False @@ -90,4 +92,4 @@ class Map: return False # we have to verify if there is only 1 connexity component of (Tile.GRD, Tile.TPT, Tile.BPD, Tile.SPD) - return True \ No newline at end of file + return True