This code tracks the number of rooms, and which rooms a player has explored. The resources it uses are pretty minor.