Can anyone help me to create a intelligence for the opponent in this game
I want that the player 2 moves by himself.
I use construct 2 r95.
Develop games in your browser. Powerful, performant & highly capable.
Just to shoot something here ,
To get it right and before you start , write what you want to do on a paper , list all what the opponent will do ... then start coding them 1 by 1 , Can't help you because I don't have that sheet
I couldn't open the attached link but, assuming from the filename alone that you're trying to create a soccer game, I highly recommend you get yourself a copy of "Programming Game AI by Example" - amazon.co.uk/Programming-Game-Example-Mat-Buckland/dp/1556220782
Not only is it an excellent introduction to game AI in general, but it has an entire chapter dedicated to creating the logic required for the computer-controlled team on a soccer game.