I'm trying to make my AI rutines as modular as possible, separating the part that is game specific and those parts who are more general, more game-type specific and also those parts that are general to most types of AI. I want to make it "right" the first time, so I ask those of you who are more experienced "what is not so good to do" and "what is good to do" when it comes to AI programming.
It is for my 2D Tank game. I had an idea to update six nodes in a circle around the AI-tank, the AI can then pick the node which is closest to the objective, which could be the base or another tank. Nodes that are behind or inside walls are ignored.
Any tips and ideas are welcome.
It is for my 2D Tank game. I had an idea to update six nodes in a circle around the AI-tank, the AI can then pick the node which is closest to the objective, which could be the base or another tank. Nodes that are behind or inside walls are ignored.
Any tips and ideas are welcome.