Creating a map/cordinate system for a text game
I'm trying to come up with a coordinate/map system for a text game I'm working on that's easy to work with and understand. Here's what I've come up with so far, but it seems overly complicated:
there are different maps/floors in the game. As such, they will be of different sizes. One floor may be 20x20 sqaures, while another room is only 10x10. As such, there will need to be two variables; one that defines the floor's size and another one, an array, that defines what every single room inside that floor is. 1's would be rooms the player is allowed to move through. 0's would be walls. 2's would be stairs that lead up while 3's would be stairs that would move down. To keep things simple, I've decided all maps/floors will be perfectly square.
Does this sound like a viable system, or am I making things overly complicated?