I originally thought that my conditional if/else statements weren’t matched up and that it was going to take a long time, but actually it was a really simple error. I had used console.log and I needed to change this to windows.alert all the way through the code (simple find and replace on notebook++) and took about 5 minutes!!
Then came the hard part. I had to play through every single option to make sure it all worked. Now I’m sure it does but it took ages and I was tired so please if you do take the time to try out this game and you get an error, or an unspecified, or something weird happens please let me know so I can fix it!
Here is a link to the modified text based adventure game:
Please try out this game and let me know how your adventure ends….please bear in mind some choices are VERY short and some choices are longer. It all depends on the decisions you make!
Have fun and good luck!