I’m just at conception stages of a new game and thinking about how to implement AI. The game takes place in two fields:
-
A risk style level map where units are moved around to protect resoruce given by owning areas
-
A combat arena where the units from the top level map fight it out in turn based strategy to take ownership of areas
Having never done much formal AI coding I was wondering about two things. First, does it make sense to treat both of scenarios seperately (as in completely decoupled) or to provide some way of the two interacting.
Second, I think I might finally bite the bullet and look at scripting again for the purposes of AI. I hear that Lua is the preferred option where AI is concerened but I’m not really sure of the pros/cons of different dynamic alternatives. LuaJava looks pretty mature and well used so I guess it’s a good option?
It’s all turned based so I’m thinking performance isn’t too much of a concern.
Thoughts appreciated,
Kev