chess robot...

Hello..
in beginning i’m an engineer student i studying Mechatronics engineering i work in a small project with my Colleagues and my professor who see me and my colleagues always stupid Students because we always fail in his test but whatever my project is chess robot my question is...
There are AI (artificial intelligence) language to programming arduino instead of (C,C++)?
or
can i write AI(artificial intelligence) language in matlab compiler?

There are AI (artificial intelligence) language to programming arduino instead of (C,C++)?

No.

can i write AI(artificial intelligence) language in matlab compiler?

Perhaps you missed the fact that this is NOT the matlab forum.

my professor who see me and my colleagues always stupid Students because we always fail in his test but whatever my project is chess robot

I've arrived at the same conclusion as your professor.