Devon, Brian - Thanks for the feedback. I made this partially for me and hoped that others would find it interesting, so thank you for commenting. I will write up a lengthier post on the wiki or my blog to describe the thought process too.
I think one reason for the repetition is because I have a separate row for monadic and dyadic cases. Also, I shuffle the choices using this: Choices =: shuffle (Answer, (4 ? # Voc)) So it's possible the answer already appears in the list. One simple solution would be to take the nub. I'd have 4 choices instead of 5, which is probably better than replicating the answer -- especially since I'm matching on indexes for correct answers. On Tue, Jan 21, 2014 at 2:26 PM, Brian Schott <[email protected]>wrote: > Also, I am not sure I like that when I get an incorrect answer, the retry > is different from the original in the distractors. I was on the fence as well. It's slightly easier to reshuffle than list of wrong answers vs retaining the state of the first set. That alone pushed me towards reshuffling. It also can "help" the person get the right answer by seeing what's still there the next time. Of course, the hint helps too. On Tue, Jan 21, 2014 at 2:56 PM, Devon McCormick <[email protected]> wrote: > However, I'd suggest that learning to associate the words with the symbols > is not addressing the core of learning the language (though it's not a bad > thing). I agree. Words to symbols is something I still struggle with so I thought it would help me some. I figured it'd improve my literacy of J code and help me think through what's needed when developing new code. Also, it was the easiest content to build since it already existed. Your game suggestion sounds like it would be like a Level 2 (or different game altogether) and would certainly teach more. The solutions and problems would need to be developed, which I'd gladly help participate in the development of. I might take a stab at it. In lieu of building the content myself, I also thought of using the existing examples from the dictionary or NuVoc and removing a symbol from the example and the question would be "What symbol would complete this example?" and it could give some options. I don't know how well that would actually work in practice. Thanks again Joe On Tue, Jan 21, 2014 at 2:56 PM, Devon McCormick <[email protected]> wrote: > Hi Joe - > > This is a good idea - I've wanted to do something like this for a while - > have a game to learn J. > > However, I'd suggest that learning to associate the words with the symbols > is not addressing the core of learning the language (though it's not a bad > thing). Also, I noticed the same thing Brian did: repeats of the same > choice. Without looking at your code, I'm guessing this has to do with the > form of the random selection: to pick five things from 100 without repeats, > you want to use something like "5?100", not something like "?5$100". > > My idea for a J game - which you're welcome to use - is to present a simple > J expression with a specific argument and give choices of what the answer > should be, something like: > > Q: (] - *:) 2 3 > > A: |_| 4 9 |_| _2 _6 |_| 6 2 |_| _2 3 > > (where "|_|" is the radio button). > > If I get some time, I'd like to expand on your code... > > Devon > > > On Tue, Jan 21, 2014 at 2:26 PM, Brian Schott <[email protected]>wrote: > >> Joe, >> >> I tried it and it seems neat. >> >> On two screens I got 2 apparently equivalent, correct options: Transpose >> and Cut. On the Numbers question I did not get an option I liked, but there >> was one that looked likely `"".`. >> >> Also, I am not sure I like that when I get an incorrect answer, the retry >> is different from the original in the distractors. >> >> I have yet to look at the source, and that is where I hope to learn more. >> >> Thanks, >> >> >> >> -- >> (B=) >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> > > > > -- > Devon McCormick, CFA > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
