diff --git a/entities/map.py b/entities/map.py index 7b6f608..8dec385 100644 --- a/entities/map.py +++ b/entities/map.py @@ -26,10 +26,15 @@ class BrSimMap(): # ⛰️ this is icon for the mountain (We can prevent players from passing through the mountains and thus use them for map boundaries.) width= [] + mon = [] for i in range(self.world_width): - width.append(self.field_sym) + mon.append(self.mountain_sym) + for i in range(self.world_width): + if i == 0 or i == 14: width.append(self.mountain_sym) + else: width.append(self.field_sym) for i in range(self.world_height): - self.game_map.append(width) + if i == 0 or i == 14: self.game_map.append(mon) + else: self.game_map.append(width) for player in self.players: p_coord_x, p_coord_y= players.get_player_coordinates() self.game_map[p_coord_y][p_coord_x]= self.player_sym