Thanx the AI isn't that smart, it defiantly could do with improvements. At first, the AI just picked just random movements. I then enabled it to run through the opponent's possible moves and created a value on the move by the value piece, positive if it could capture and a negative if the oponent could take it. After that, I ordered the list of moves by value and pick a random move out of the highest value moves. I'm still not sure if that's actually working correctly though.