The Task


For this first assignment of the module, we have been given the task of porting a Write Your Own Adventure text-based game from visual basic into c++.

To start off with I need to decide what data the game needs and how best to design the way you would move about the room.

In the original game, you have moved by adding or subtracting x value from the array of rooms which allows you to swap rooms. 

I will also try to implement this into my version of the game. It works by storing all the rooms in an array and if the player wants to go up/down then that array position is either incremented or decremented by 8. If you wanted to go left or right then it would increment or decrement the current position by 1.

I also started to think about what classes I would need and what data the class would use.

Get Haunted House

Leave a comment

Log in with itch.io to leave a comment.