Giter Site home page Giter Site logo

dhdhdvvv / chinesechess Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xmuli/chinesechess

0.0 0.0 0.0 42.81 MB

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

Home Page: https://www.bilibili.com/video/av45509758

License: GNU General Public License v3.0

Shell 4.62% C++ 88.37% QMake 1.61% CMake 5.40%

chinesechess's Introduction

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.

chinesechess's People

Contributors

xmuli avatar kira-yamatoo avatar bruce-ch avatar hmsjy2017 avatar ryanfortner avatar ubuntuser2012 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.