show players and items on the map

This commit is contained in:
andrea
2025-07-28 20:03:08 +02:00
parent 37578437f6
commit 9653965d2b
3 changed files with 45 additions and 12 deletions

View File

@@ -25,7 +25,11 @@ class BrSimPlayer():
### control methods
def get_player_coordinates(self):
return self.coord_x. self.coord_y
return self.coord_x, self.coord_y
def set_player_coordinates(self, x, y):
self.coord_x= x
self.coord_y= y
def get_name_and_stats(self):
health= '♥️' * self.health or '☠️'