CrimsonCode-2019_team_PositiveAttitude
We made a text based adventure game for 2019 Crimson Code Hackathon
The program mostly consist of a salable engine for text based adventures. The scaling is handled by node objects which are connected with a combination of linked lists and trees. The nodes are created based on the information int nodes.csv
The nodes.csv is used to build the entire branching narrative. the first column is an id number for each node. The second column indicates weather a node is a text, decision, or combat node corresponding to a 1,2,3 respectively. The third column is used to build the objects in each category with the parameter changing based on the object type. For a text node simply put the string you what to be displayed when the node is reached. For a decision node write each of the choices separated by a semi-colon and ensure that there are 4 semi-colons in total even if the region between is blank. Finally for combat nodes simply put the number of the enemy as seen in the switch statement in the Combat objects constructor. The remaining columns correspond to the choice number, which is the Id of the node each choice will lead to. That can be at most 4 different choices with the finally column being for an unimplemented feature. Node there must not be a new-line '\n' at the end of the csv. When modifying with excel a final new-line is added and must be removed before running the program
Log in or sign up for Devpost to join the conversation.