Originally posted by Ragnorak
Not sure if this answers your question, but it's very easy to graphically represent the chessboard as a string_grid, using one of the many chess fonts which already exist.
Yeah. I'm doing that and that's how I did it last time too. In fact, I created my own font (from some of the others) just for that purpose. In my previous program, I think I used icons when moving the pieces (and maybe even as pictures on the board). I'd like to have a drag-and-drop interface when moving the pieces but I suppose clicking the start square and then clicking the target square would be fine too. I could change the background color (or highlight the edges) of the cell that contains the piece's start position.
By the way, I did find an .ocx call chesstools.ocx. I haven't messed with it much and I suspect that it's not complete, or at best, buggy.
My original question about using UCI engines in my program remains. I'd like to create a random position and then let Rybka give it a score. If the score is not "about even" then I could create another position until an "even" position is reached.
It's interesting to see some of the positions that my program comes up with randomly. I'm working now on eliminating illegal positions.