Hello,
Long time lurker, first time poster. Wondering if I could ask on some advice and help on a group project.
What we’d like to do is to put together an:
Interactive Fiction / Text Based Adventure games with say
- 10 Story Sections / Rooms
- An Item System
- A Combat System
- A save system
- And perhaps the ability to change the rooms (editing the story)
Now we’ve had no problems so far with the combat system and are currently upgrading the code to add more complex options, as for the Item system I think we’re going to do something simple with say giving each item a true or false state and changing certain things depending on what state each items variable is in (just need to work out how to integrate it)
We have a fairly good idea for the save system also just dump some relevant information to say a txt file on where the user is within the game and what items they have picked up etc
The main problem we are having is coming up with the rooms thinking of using an ArrayList with different rooms / sections then having a class to implement each section of the Array with the text associated with that rooms and then links to different rooms… only problem is we’re not sure how to code it…
Anyway I was wondering if anyone had any suggestions or ideas on any part of project particularly how to implement the rooms, if someone could post some code or link to an existing project that would great.
Thanks in advance for any advice given