QT C++ game chess