Hello,
i'm coding a chess game too, if you want there's lots of components that
do that for free on torry! Of course, don't just use and finish, but as most
delphi component are open source you can look into it

I've used one of those not because of chess games itself but because i'm
learning how to manage online turn based games and chess is perfect for this task!

Search on Torry.net for "Chess" and you're done, or, at least, is a good point to start from