Artificial Intelligence Script
Feb. 24th, 2007 02:53 pm1.
Will I see many of you at wrap-up meeting tonight for ConFusion?
2.
I have a color-coded decision tree for artificial intelligence. To my surprise,
jer_ says I've already done 90% of the work of programming right there in that document. What's left is to put it into syntax and formatting so that it's script code for our game. I like this interactive online Ruby tutorial and this somewhat-less-interactive online Python tutorial, but when do I get to the part about "IF this, THEN do this, ELSE do this"? If I were being taught that, I would know precisely what application I am going to immediately put it to. I don't want to write a program, I want to write a script. The Multi User Dungeon Object Oriented can take such scripts in Perl, Python, and Ruby.
The tutorial doesn't know I need knowledge specifically for scripting. So it's teaching me many other things which serve unspecified purposes in terms of scripting: such as the different forms data can come in. Ordered lists, strings of text, numbers to which arithmetic can be applied, and so forth. This feels similar to the feeling I always got in math class: I don't know any uses to which I am ever going to put the content, and so my attention drifts out the window. I know from experience that I eventually find out the use for such knowledge, and when that happens, I always wish I had maintained focus in class. In fact these specific things are almost certainly going to be used for something in my script. But it would be easier to retain the knowledge if it were taught to me in the context in which I am going to use it.
Will I see many of you at wrap-up meeting tonight for ConFusion?
2.
I have a color-coded decision tree for artificial intelligence. To my surprise,
![[livejournal.com profile]](https://www.dreamwidth.org/img/external/lj-userinfo.gif)
The tutorial doesn't know I need knowledge specifically for scripting. So it's teaching me many other things which serve unspecified purposes in terms of scripting: such as the different forms data can come in. Ordered lists, strings of text, numbers to which arithmetic can be applied, and so forth. This feels similar to the feeling I always got in math class: I don't know any uses to which I am ever going to put the content, and so my attention drifts out the window. I know from experience that I eventually find out the use for such knowledge, and when that happens, I always wish I had maintained focus in class. In fact these specific things are almost certainly going to be used for something in my script. But it would be easier to retain the knowledge if it were taught to me in the context in which I am going to use it.