Functional chess game