Of course one can write an AI for a lot of things,
but the point of this game (and I might not have made that as clear as I intended) is that it is very much a tutorial on basic Lua.
It teaches you step by step how to make your train do what you want (while considering you might never have programmed in any language before.)
I haven't found any alternatives. But for C or Java
this site might be interesting.
