Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

The game is pretty easy. I have created functions that proceed when the user makes a choice. according to the choice, different functions can be exited. I used if statments a lot to variegate the story and the while loop to get input from the player. Most of the code is screen-based, meaning the output of the cout command makes the player see the different choices he can make. There is a function for everything, for the player's death that can occur during the story or for being subjected to testing since he is not a human.