Link to app Code.org - App Lab
On “AlgorithmPage” This student wants to the following to occur
“A” & “B” are inputted by buttons in the app. Then “steal” is inputted - to signify that when A & B were clicked, a runner stole a base.
Another set of Letters were inputted, say “A” & “D” and another runner stole - which is inputted in the app
Different letters are pressed and “STEAL” as well as other letter combinations being pressed and “NO STEAL”
The student - and I, for the purpose of learning - would like to know how to get the inputted data to accumulate someplace AND be able to predict “STEAL” or “NO STEAL” based on future inputted data. For example, after a couple of innings, I input “C”, “B”, “E” and the app automatically gives the predicted “STEAL” or “No Steal” based on prior selections.
So far, I do not know what to try. Not sure where exactly to start. I would really like to know how this works so I can help further questions on alike matters. Eighth graders have some grand ambitions at times and I do not always have the tools to help those goals be reached.
Thanks for the help.