当前位置:网站首页>Pure QT version of Chinese chess: realize two-man, man-machine and network games

Pure QT version of Chinese chess: realize two-man, man-machine and network games

2022-07-06 02:33:00 Autodesk_ Glodon

1、 Introduce

   pure Qt Version of Chinese chess , utilize QPainter and QSS Achieve chess interface rendering , contain 《 Double play 》、《 Man machine battle 》、《 Network war 》 Three battle modes . Among them, network war use QTcpServer and QTcpSocket To realize network connection and data transmission ; The man-machine combat mode uses the exhaustive evaluation algorithm to design the computer's chess power , Can reach the average level .

2、 object-oriented

  Qt It can be used for introductory study or as a graduation design modification and beautification interface . The code logic is clear , Clear notes , Easy to understand .

3、 Interface display

1) Login screen
 Insert picture description here
2) Battle main interface
 Insert picture description here

3) Source code display
 Insert picture description here
4) Download the source code
Download the source code

原网站

版权声明
本文为[Autodesk_ Glodon]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060232278282.html