I’m trying to use the game_map function to return simple location data (game_map[x, y) but I’m struggling with importing the game_map function, every test giving me the error of 'game_map not defined.
How does one import and use said function?
You actually import gamelib, not game_map.
Or if you mean you tried to use game_map directly, you actually need to use it under a game_state:
Something like game_state.game_map[x,y]
If you ever have anymore issues similar to this, I usually refer to the starter pack C1 provides.