Cool idea, I might actually try it on a real chessboard against a person sometime. How much of the AI were you able to program? Is it random or are they making some decisions?
However, I was able to implement a one-move ahead algorithm only because of time. Basically it tries to capture the piece with most material value it can, if not it moves one random piece. A two-move ahead algorithm makes surprisingly good movements already.