In this example I made the AI player (a green box) will look for and kill blue boxes it just show the concept of grid based game AI.
It is very simple right now but I hope to have more complex component later on with new updates.
show here it is
http://download741.mediafire.com/zyr34qiqyjng/c4tz2nozyzg/My+Turn+Based+Strategy+Game2.capMy AI gird Pathfinding
Whoa, just 2 days ago I posted a thread about an AI grid pathfinding script or something and now you are posting this! Thanks
Edit: It should be great if it can move around obstacles.
Here you go My AI gird Pathfinding with obstacles
I made so changes to this cap.
Great, will test it now. There are some variables which are not explained but I'll get what they men.
Have you game planned with this grid AI?
Develop games in your browser. Powerful, performant & highly capable.