Route_planning_bfs #2

Merged
s481894 merged 12 commits from Route_planning_bfs into master 2024-04-20 14:51:35 +02:00
5 changed files with 3 additions and 3 deletions
Showing only changes of commit cd4b714090 - Show all commits

View File

@ -21,7 +21,7 @@ def main():
pygame.display.update() pygame.display.update()
#getting coordinates of a certain tile - test: #getting coordinates of a certain tile - test:
tile_index=2 tile_index=22
tile_x, tile_y = get_tile_coordinates(tile_index) tile_x, tile_y = get_tile_coordinates(tile_index)
if tile_x is not None and tile_y is not None: if tile_x is not None and tile_y is not None:
print(f"Coordinates of tile {tile_index} are: ({tile_x}, {tile_y})") print(f"Coordinates of tile {tile_index} are: ({tile_x}, {tile_y})")