thanks ErekT, I 've also read something about AI for fighting games, and already though on something similar to your suggestion, the tricky part is to make a "tree" of infinite (or almost) possible actions, and also transform all my code to functions so the AI will take on the same code of player2.
The only problem I have is time, I have some papers to work on, and for the next 2 weeks I won't be able to make big progress so I prefer to publish the tutorials in the meantime..
I think I just finished the basis of the engine, and probably during the weekend I'll update the demo, so you can look for bugs before I start recording the videos... (finally a Ken vs Ryu battle!!!)