I'm currently working on teaching myself Python. As part of this I am working on a small dungeon crawler that runs in the command prompt. I've been using this example to be able to design a dungeon, which works fairly well so far though it's quite a bit of manual work to get it all going.
However, due to the nature of how it is visualized in the command prompt you'll get easily lost. So the solution would be the addition of a map to the game. Since the command prompt does not allow for extensive graphics I'm going with something like this:
Lines are usable connections between rooms, the E is the entrance/exit, the * is the player, the S can be something of interest, the Os are explored rooms and the ? are unexplored rooms. I think that I'm able to get such a map drawn in the prompt, but it's the moving part that's gonna be different. I think I'll have to somehow link the player's presence in a room (all of them are numbered behind the scenes) and somehow draw that room differently. But how would I go about doing this? Or should I do this in a completely different way?
However, due to the nature of how it is visualized in the command prompt you'll get easily lost. So the solution would be the addition of a map to the game. Since the command prompt does not allow for extensive graphics I'm going with something like this:
Lines are usable connections between rooms, the E is the entrance/exit, the * is the player, the S can be something of interest, the Os are explored rooms and the ? are unexplored rooms. I think that I'm able to get such a map drawn in the prompt, but it's the moving part that's gonna be different. I think I'll have to somehow link the player's presence in a room (all of them are numbered behind the scenes) and somehow draw that room differently. But how would I go about doing this? Or should I do this in a completely different way?