Improve network
Add cancelLastMove() to Board Create networkMenu in ChessNetwork Use QDataStream for network transfer Check if side and turn are correct in ChessNetwork Put connexion dialog in ChessNetwork Add invalidMove function and signal Better network messages with dedicated struct Add magic number and version to network messages Check if network message is valid Add update() and cancelLastMove() in Window
Showing
- Board.cpp 12 additions, 1 deletionBoard.cpp
- Board.hpp 3 additions, 0 deletionsBoard.hpp
- ChessNetwork.cpp 124 additions, 21 deletionsChessNetwork.cpp
- ChessNetwork.h 84 additions, 7 deletionsChessNetwork.h
- Window.cpp 18 additions, 34 deletionsWindow.cpp
- Window.hpp 5 additions, 1 deletionWindow.hpp
Loading
Please register or sign in to comment