XMuli/ChineseChess
소개
Qt5 및 Qt6 기반의 크로스 플랫폼 온라인 대전 게임: 중국 장기. 다른 이름:『Xiangqi』『中国象棋』
게임 및 에뮬레이션What you can do
- Add regret function, unlimited regret
- Show move track, current move
- Restart game, click to restart
- Code logic optimization, new comments
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalChineseChess
Introduction
- The Chinese chess online battle platform (including communication function) developed based on
Qt5.15 and Qt6.8realizes the function of chess game in a single or networked state, no matter whether it is single or multiple players, regardless of whether the system is the same.- This project is included in: product
- Video Effects: https://www.bilibili.com/video/av45509758
characteristic
The main functional modules of the project are divided into:
ⅰ Players play against themselves
ⅱ Play against the computer AI
ⅲ Multiplayer network battle (can cross different systems)
ⅳ Battle timing
ⅴ Repent (multiple moves possible)
ⅵ track of chess moves
ⅵ About the work information
Run the demo
Video presentation: ChineseChess QT-based cross-platform online chess game demonstration
Win10 running example:

Linux running example:

MacOS running example:

Examples of cross-platform battles: MacOS 10.14 vs Win10

About the program:

Update (2019-2026 v7.x)
Features
- Add regret function, unlimited regret
- Show move track, current move
- Restart game, click to restart
- Code logic optimization, new comments
- Update chess interface, use ancient chess characters
- Update about program, add contributor name
- Linux ARM Raspberry Pi support: apt.raspbian-addons.org, both 32 and 64-bit
Show


Development tutorial
QT5/C++ project: QT-based cross-platform online battle chess (1)
QT5/C++ project: QT-based cross-platform online battle chess (2)
QT5/C++ project: QT-based cross-platform online battle chess (3)
In addition, the source code summary is accompanied by detailed code comments for easy understanding.
Build
This project supports both Qt 5 and Qt 6 builds.
For more project list: https://product.xmuli.tech
- Environment: This project compiles successfully with both Qt 5.15.2 and 6.8.3 LTS versions. Tested minimum build version is Qt 5.12; lower versions are unverified.
- IDE: We recommend using Qt Creator directly to open CMakeLists.txt for building.
- Other: You may also convert CMake to .sln manually and build using Visual Studio 2022.
Windows Build
- Install Qt (recommended: Qt 5.15 or Qt 6.8 LTS)
- Open CMakeLists.txt directly in the Qt Creator IDE
- Click Build > Compile in the bottom-left corner
- You should see it run successfully. Enjoy~
Linux / Mac Build
Using Debian and Ubuntu as examples, install Qt (recommended: Qt 5.15 or Qt 6.8 LTS) Execute:
$ sudo apt install cmake qtbase5-dev qt5-default libqt5svg5-dev qtmultimedia5-dev qttools5-dev libqt5x11extras5-devRun commands:
$ git clone https://github.com/XMuli/ChineseChess.git $ cd ChineseChess $ mkdir build && cd build $ cmake .. $ makeAlternatively, you can skip Step 2 and directly use Qt Creator for compilation and execution, which is more convenient.
Contributor
Thanks for the contributions submitted by the friends 🥳🥳:
![]() XMuli |
![]() Bruce-Ch |
![]() BlueArvin |
![]() Ubuntuser2012 |
![]() kirayamatoo |
![]() hmsjy2017 |
|---|---|---|---|---|---|
![]() ryanfortner |
![]() zjuyk |
![]() sum2012 |
![]() Codex |
If it helps you, or find it useful, you can click on the item's ⭐Star 🍴 Fork of the two icons, conveniently lift the hand between, said a point of praise the hand, There is a fragrance in your hand;The next best thing is to buy me a cold Coke.
Author
Tutorial Series
QtExamples Welcome to star ⭐ and fork 🍴 This series of C++ / QT / DTK studies, where you can learn how to write this kind of software yourself, is a complete series of tutorials. And FREE!
관련 프로젝트 살펴보기
불러오는 중…









