Mastering Chess Logic