Coding problem spaces in chess