Making an html text based game like 'Brad The Game'
Basically some text (your house is on fire)
with some button options (1. get out, 2. rescue pets, 3. save valuables)
the script or whatever i want to be able add will operate this way:
When an option/link/button is clicked, the script will essentially roll the die to determine which provided document it will load next (so instead of the link going directly to one file, there is a chance it will load another file)
so with the example if you choose to try and save your valuables instead of fleeing the burning structure, lets say there is a 25% chance you will die (the link opens of the html document detailing your agonizing death)
I want to be able to copy/paste it fairly easily, be able to switch out links and adjust the % chances
thanks
Basically some text (your house is on fire)
with some button options (1. get out, 2. rescue pets, 3. save valuables)
the script or whatever i want to be able add will operate this way:
When an option/link/button is clicked, the script will essentially roll the die to determine which provided document it will load next (so instead of the link going directly to one file, there is a chance it will load another file)
so with the example if you choose to try and save your valuables instead of fleeing the burning structure, lets say there is a 25% chance you will die (the link opens of the html document detailing your agonizing death)
I want to be able to copy/paste it fairly easily, be able to switch out links and adjust the % chances
thanks