This is my project (#1) for the summer semester (30240522-3) in Tsinghua University. Mainly focused on Qt and Internet programming.
Author: Ren Zihou
MinGW 8.1.0
(your c++ compiler) and Qt6
is required, and Qt 6.1.2
is recommended
(because it is used for development, and I haven't tested it on any other versions).
This program supports both cmake
and qmake
.
> cmake -S . -B build -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release
> cmake --build build
> mkdir build
> cd build
> qmake ..
> make
- main window & menu bar - 2021/08/16
- board & chess - 2021/08/17
- board synchronization - 2021/08/19
- connection - 2021/08/19
- disconnection - 2021/08/19
- init board and chess - 2021/08/17
- flip chess - 2021/08/17
- move chess - 2021/08/20
- eat chess - 2021/08/20
- judge victory - 2021/08/22
- timeout - 2021/08/22
- pop-up window - 2021/08/22
Fix bug
- Soldier cannot move across border now
Fix bug
- game now correctly stop when all soldiers are killed
Add
- highlight opponent's move
Fix bug
- chess won't move slightly when selected now
Add
- new cheat command
freeze
will pause the game
Fix bug
- cancel listening before connection would crash the game
Code Implement
- add debug output: connection failed
Optimization
- ip check
- timeout counts
- game tips
Fix bug
- game now stop correctly after a victory
First full game