Hey, I am doing my sdd project and I have hit a bit of a problem...
I am trying to construct an algorithm that will make a Choose Your Own Adventure Story. When a scenario comes up for the user, they will have two choices, then they pick one, then from that scenario they have two more choices.
The numbers represent possible solutions:
1
2 3
4 5 6 7
From 1, the choices are 2 & 3, from 2, 4 & 5...
And so on and so forth...
So I came up with this:
n
2n 2n+1
But once the user makes their choice, (say 2n or 2n+1), how do I then assign that scenario so it becomes "n" again???
If anyone feels bored and wants to help me (PLEASE DO!!!!) than give me some advice or construct a sub mod to guide me in the right direction. Thanks alot
I am trying to construct an algorithm that will make a Choose Your Own Adventure Story. When a scenario comes up for the user, they will have two choices, then they pick one, then from that scenario they have two more choices.
The numbers represent possible solutions:
1
2 3
4 5 6 7
From 1, the choices are 2 & 3, from 2, 4 & 5...
And so on and so forth...
So I came up with this:
n
2n 2n+1
But once the user makes their choice, (say 2n or 2n+1), how do I then assign that scenario so it becomes "n" again???
If anyone feels bored and wants to help me (PLEASE DO!!!!) than give me some advice or construct a sub mod to guide me in the right direction. Thanks alot