• Stars
    star
    689
  • Rank 65,628 (Top 2 %)
  • Language
    C++
  • License
    GNU General Publi...
  • Created almost 6 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Cross-platform and online battle platform game based on Qt: Chinese Chess. Also known as:『Xiangqi』『中国象棋』

ChineseChess


Introduction


English | 简体中文


The Chinese chess online battle platform (including communication function) developed based on Qt5 realizes 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.


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 (2022 v6.0+)

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


In addition, the source code summary is accompanied by detailed code comments for easy understanding.


Build

  1. Install Qt (Qt >= 5.12.11)and other dependencies

    For Debian and Ubuntu, run:

    $ sudo apt install cmake qtbase5-dev qt5-default libqt5svg5-dev qtmultimedia5-dev qttools5-dev libqt5x11extras5-dev
  2. Run the command::

    $ git clone https://github.com/XMuli/ChineseChess.git
    $ cd ChineseChess
    $ mkdir build && cd build
    $ cmake .. # or qmake
    $ make

Or you can skip the second step and use Qt Creator to compile and run.


Contributor

Thanks for the contributions submitted by the friends 🥳🥳:



XMuli

Bruce-Ch

BlueArvin

Ubuntuser2012

kirayamatoo

hmsjy2017

ryanfortner

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

alt text alt text alt text


License

This project is distributed and used based on the GNU General Public License v3.0 protocol. For more information, please refer to Agreement File.

More Repositories

1

QtExamples

Qt 之 GUI 控件使用 / 网络 / 架构原理 / 运行机制理解;DTK 重绘控件方式的框架解析;IDE 技巧之 Visual Studio / Qt Creator;此为系列文章教程
C++
3,308
star
2

SunnyPages

Simple and beautiful screenshot software that supports Windows, macOS, and Linux. It also supports OCR and image translation features. | Sunny是一款简洁且漂亮的截图软件,支持Windows、MacOS和Linux系统,亦支持 OCR 和图片翻译
275
star
3

cPlusPlus

C/C++写的小游戏: 2048、FlappyBird、通讯录、终端 IM、 界面 IM、仿 QQ 简版聊天
C++
191
star
4

NetSpeed

A light and fast internet speed plugin(DDE).
C++
67
star
5

website

网站设计一类源码仓库
TSQL
62
star
6

windows-defender-close

Windows Defender Close. | 亦极简的电脑管家,一键关闭 Windows Defender (Anti-Virus)。
Inno Setup
47
star
7

LinuxExample

Unix / Linux Example
SWIG
42
star
8

ShotX

一款极简的截图工具(支持 Win,Mac,Linux)
C++
41
star
9

lfxSpeed

A light, fast plug-in to show internet speed on Deepin V20.x | 一个 DDE Dock 的监测网速的插件
C++
32
star
10

OpenMesh

OpenMesh的源码学习和资源
C++
30
star
11

FlippedPages

Simple and beautiful screenshot software tool for Windows, MacOS and Linux | 简洁且漂亮的截图的软件工具,支持 Windows,MacOS,Linux 平台
27
star
12

2019_04_3dtiles

fork fanvanzh/3dtiles 作为基础版,修改
C++
12
star
13

ThinkyMatePages

Simple and easy to use desktop application for ChatGPT & AI, will supporting Window, MacOS, Linux platforms. | 洁且易用的 ChatGPT/星火大模型 & AI 的跨平台客户端
12
star
14

AcrylicWindow

QtWidget uses Acrylic Material to blur windows | Qt 使用亚克力的透明磨砂效果的窗口思路和解决方案 | 跨平台方案
C++
12
star
15

XMuli.github.io

偕臧的小站
HTML
4
star
16

BubbleChat

A bubble chat message display that is adaptive in size. | 气泡聊天的消息展示的效果,且自适应大小。
HTML
4
star
17

XMuli

about me
1
star
18

Algorithm

Sorting and Algorithms
C++
1
star
19

EcgAnalyzer

Ecg software for viewing and adding custom labels on windows, macOS and Linux platforms.
1
star
20

CloudHome

偕臧的自用小仓库
1
star