Sunday, September 29, 2013
Summary
Well, it was a fun weekend...but it's good to be back to the code
Over the weekend (during little pieces of spare time here and there), I implemented a quantitative heuristic in the AI reasoning algorithm to allow it to reason more accurately about the effects of actions. The result is that it can now understand the concept of a trade run! The neat thing about it is that I never coded the concept of "trading" into the AI, per se. Trading is just a natural consequence of an NPC's desire to make money, and the realization that a price difference causes a buy action in one location and a sell in another to yield a net gain. Cool The reasoning should be even more accurate when I plug the abstract simulator back in, but for the time I've bypassed that piece because I'd rather start from the basics.
I've got a simple mining action working as well - the AI can now buy a mining device and use it to extract ore from rich asteroids. With this implemented, the AI now recognizes mining as a profitable activity and a good way to satisfy the desire to make money. More interestingly, it would also recognize mining as a way to, for example, acquire the raw materials to construct something. I'm trying to cover a lot of ground in a very short amount of time here...now that the AI is working, I really want to see what it's capable of in the context of real gameplay!!
Unfortunately, thanks to the hot mess that is airline companies, I got home about 5 hours later than I was expecting so I'm now in a frantic AI sprint and really hoping that I can do justice to the monthly update in time!
[ You can visit devtime.ltheory.com for more detailed information on today's work. ]
Post
Mon Sep 30, 2013 12:20 am
#1
Week of September 29, 2013
“Whether you think you can, or you think you can't--you're right.” ~ Henry Ford