adapted the board class for chess