The Logical Approach to Chess