Hi,
My competitive theatre class in high school has the students write up their own final exams for their classmates to take, and the best one is actually chosen to be the final. I thought "Hey, why don't I turn it into a text adventure game", and here I am.
So, my question is, how can I disable the back button functionality in Twine 2.0 so that students are unable to cheat and add to their score?
Comments
Perhaps after every answer, it updated a variable, then you used a print function to display a list of all the game's variables at exam complete to provide an easy summary of the given answers.
To do this I strongly suggest using SugarCube since it has a "Save to file" function that students could save to at the end, and then send you their answers. If using SugarCube, to disable the back button you put this in your Javascript area:
Seconding SugarCube.
2.x users will instead need to use the following code: