Original Post
I'm relatively new to game programming with c# and managed direct x (been doing it for about 1/2 a year), and I've gotten to the point in my project where I'm giving some serious thought to putting in some pretty decent strategic level AI. Before now all of the ai subroutines (and pretty much everything else non graphics related) has been called in the update method of the render loop. However a lot of the ai stuff doesn't need to be called every iteration of the render loop. So the question is do I need another thread to handle all of the ai (and non graphics/updating stuff), or do I keep calling everything from the update method and just put a timer on it? I've been having a oddly hard time finding anything on this subject, and all of my game programming books stop short of talking about this. thanks (p.s. I'm not writing this with multicore processors in mind.. if that matters)