Yeah, Chess AI isn't really a black art like a lot of people think, when it boils down to it, its basically simple maths that a kid could fathom out - you could actually play chess with yourself just by checking move scores.
The score of each piece can be found by sticking the piece in the middle of the board and counting how many spaces it can move to.
To calculate a board score, I'd have a buffer board and a set of functions to simply copy the real board over the buffer board, and calculate the buffer score for each player - just by adding the score of each piece to get a total. You'd copy the real board over the buffer board and perform each move, each time you could flag the spaces which could be attacked by your opponent, then adjust the score for the pieces under threat, I reckon subtracting the piece value once is enough - that's why you flag the threatened space, so each piece is only affected once - you don't want it going daft when a piece is under attack from 2 or more sides.
Really, once you have possible moves, and board scores working - the AI is really just data organising, checking lots of board layouts, and keeping track of the best scoring move - the trickiest part is the data organising.
I suggest storing each move by the XY location to destination location, like 12:32 would move the leftmost white pawn forward 2 space, xy:XY sorta thing where XY is the destination, and xy is the start. If you use this sort of data storage you should find adding moves a bit easier because it's a string, you simply join your moves together. Doing it this way means you could perform each move in turn to get the end score - making move analysis a bit easier for you, just make your functions super efficient.
For a UI, you only really need a check on the screen location of the piece, just have a little bounding box at it's base that selects the piece when clicked on. I expect chess programs to let me click on the square - obviously in DBPro you could probably use PICK SCREEN and all that gubbins that I don't understand yet.
Van-B
I laugh in the face of fate!