The Task


Hello, 

I have been given my first assignment, the task at hand is to transform a text adventure from basic code to C++. Before being handed this assignment I was tasked with first making this game in basic. The link below will take you to the PDF of the book we were given:

https://blackboard.uwe.ac.uk/bbcswebdav/pid-6595509-dt-content-rid-13786083_2/courses/UFCFXG-30-2_18sep_1/write-your-own-adventure-programs.pdf

The first process of starting this project was to think about what Classes would be needed, how would the player move around the map and where items would be stored.

I started with first thinking of how the player would move around the map, I came to the conclusion of using a grid of the map layout. this grid is also shown in the PDF of "write your own adventure program".  I plan to use a 2D array, what this means is the array will store the number of rooms and then the number of exits, this will be further explained in a later post.

Regarding classes there would need to be a player class to store data for the player,  items  and rooms.  these two will work closely together with what item is in each room. the player and item will also work closely together with what item the player has.

Thank you for reading this.

Get Haunted House

Leave a comment

Log in with itch.io to leave a comment.