The AI project has been done with neural networks. Such a NN works similar how brains work. Its a lot of neurons exchanging signals.
They are arranged in diffrent layers, of which there are allways at least two ( Inputlayer and Outputlayer ) plus the optional Hiddenlayers.
Thats the simple part of NNs. It is more difficult to train such a network.
AI was coded by synopia