Hey Yexo, well done on making a very impressive AI. I've only been playing TTD for a few years and the pathetic AI annoyed me so much, it made the game too easy without competition (and I'm not good enough to play online multiplayer
). Downloaded OpenTTD last week and set up NoAI with a handful of the AIs I've seen on here, and after a few game years AdmiralAI was beating me by an embarrasingly large margin
. I've only seen it make a few pathfinding mistakes so far (mostly with large open water between the stations), and as a programmer I can appreciate just how difficult it is writing something like this.
CluelessPlus and NoCAB seemed to do pretty well too, although with less variety, and poor PAXlink had a hard time - the 3 largest cities were in the middle, right next to each other, so it was flying between 3 large airports 6-8 tiles apart! Still, it's all very impressive, and I've started another game with a bigger map to give them more chance to flourish (and less likely to block me in!
).
Any advice for a beginner AI dev? I'm new to Squirrel but I have some experience with languages, like C++ & Python, and I have made some very basic flash game AIs but not for anything as complicated as TTD.