Commit graph

26 commits

Author SHA1 Message Date
fce1ed0abf simplified the code for handling error in the network module 2023-03-08 23:46:39 +01:00
8ef6d0d239 fixed an issue where leaving while the other was deciding to load the old save would softlock the user 2023-03-08 23:18:05 +01:00
15353991f6 path are now in the path module 2023-03-07 11:26:39 +01:00
cc5a90405c fixed type hint for packets 2023-03-07 10:14:16 +01:00
bd748ad349 the connexion timeout is now 1 second instead of 5 (fix the quiting fast from host to client to connect to ourselves) 2023-03-07 09:33:43 +01:00
8d3f53cec1 there is now a status text when trying to connect to a host, it is no longer possible to spam "connect" 2023-03-07 09:30:21 +01:00
8c7b429d29 each move are now saved in the history list of the Game object 2023-03-06 13:54:56 +01:00
808b309c40 the load menus now show the time of the save 2023-03-05 21:47:51 +01:00
5bdffd40de changed some grid code to be easier to manipulate 2023-03-05 11:32:36 +01:00
8048a3d43b load screen before loading an old save file 2023-03-04 13:32:59 +01:00
312210b323 Added prompt to save the game 2023-03-04 12:46:58 +01:00
aa4b2f8eb2 added a popup for the quit button in the game 2023-03-03 18:26:23 +01:00
b7d147fc3c added SimplePacket and VariableLengthBytesPacket to simplify some Packet type 2023-02-28 18:15:08 +01:00
37350926b2 changed the packet code to be simpler and more flexible 2023-02-28 14:07:00 +01:00
58287a0649 port can now be changed 2023-02-27 16:15:53 +01:00
25a3c0fa86 simplified some part of the game code, made some quality of life change 2023-02-24 19:37:44 +01:00
385adb2cf1 added settings for the game 2023-02-24 16:11:44 +01:00
75d7c407c1 added the turn system 2023-02-23 16:59:55 +01:00
a2d37c37f7 added more documentation in some files 2023-02-23 00:02:28 +01:00
c6ffbb9a58 simplified the usage of socket thanks to the Packet class 2023-02-22 23:19:37 +01:00
4e376bc009 implemented more of the game with the network 2023-02-22 15:50:45 +01:00
972327cdc7 added a StoppableThread class to simplify a bit the Host and Client thread 2023-02-21 23:39:49 +01:00
2f96ab14ad added a better management for the network thread and a prototypal chat 2023-02-21 23:25:50 +01:00
ca59abee01 added background on game and renamed some minor variable 2023-02-17 22:49:44 +01:00
8181885c84 fixed an issue with gl context when connected 2023-02-17 16:09:49 +01:00
ca001511c8 started the networking and interface connection 2023-02-17 15:56:00 +01:00