Text based game C#, if key selected>open door,Text based game, using boolean to pick up key and open door
Hi there,
I'm working on my first game (text based C#), i want the player to click on a line , and when he has clicked the key, he can open a door in a previous room. How do i start doing it? I was guessing using a boolean to change to true , when the key text is clicked, but i have no idea how to work it out. Also i need to make sure he can't open the door unless the key is clicked in a different room.
Comment