Hmmm. 2 posts asking about very advanced topics (Artificial Intelligence and OS design) but your questions seem to indicate you don't have any idea where to start. Might I suggest you take a step back and learn some basics before you jump into the deep end. Maybe at least post up your game so we can see what level you're at?