Anyone up for a challenge?
Can Scratch (or any variant on it) be used to make a Branching Database app?
e.g enter questions with the two answers - then add questions to each answer path etc etc to get
Does it have 4 legs
yes - does it say woof
-- yes - its a dog
-- no - its cat
(VERY VERY simple example)
The program needs to allow input of questions /answers, preferably save/load them (via lists????)
Give it a go if you think your up to it
Si
Offline
Are they exclusively yes/no questions?
Offline
In my opinion it's not too hard. You need to encode each possible outcome as a number obtained by converting a binary string to base-10, and each member of the binary string is obtained by the yes-no answer.
Does it have 4 legs: YES (1)
Does it say Woof?: NO (0)
String: 10
Base 2: 2
Therefore item 2 of the answers list should contain "Cat".
Offline