中国象棋的C++代码#include"chess_zn.h"QTcpSocket*Chess_ZN::client=newQTcpSocket;QUndoStack*Chess_ZN::undoStack=newQUndoStack();intChess_ZN::second=120;boolChess_ZN::isTurn=false;Chess_ZN::Chess_ZN(QWidget*parent):QWidget(parent){init();initElse();}voidChess_ZN::initElse(){treeitem=1;time