Below attached is a very good Chess program using Minimax,it plays good Chess for such a small program and can be used as a starter for other Chess programs
I could not post the code into the code box because it has 103351 characters and the maximum allowed is 60000