Commit graph

22 commits

Author SHA1 Message Date
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
5dd5663ac6 ajout d'un texte affichant l'état de la partie 2023-02-24 11:46:28 +01:00
c49971fe5a ajout d'un écran de victoire 2023-02-24 11:32:13 +01:00
1bbef3f57d unified the cls_from_connection, instance_from_connection 2023-02-23 22:38:04 +01:00
fb90534436 the header and the data are now send together 2023-02-23 21:38:47 +01:00
db21bf5e04 it is now possible to see the opponent move on our board 2023-02-23 17:34:43 +01:00
9c8e0f87ce the score system is now working 2023-02-23 17:22:20 +01:00
75d7c407c1 added the turn system 2023-02-23 16:59:55 +01:00
bda05d3f8e simplified packet with the struct module 2023-02-23 10:02:16 +01:00
a2d37c37f7 added more documentation in some files 2023-02-23 00:02:28 +01:00
dc4cb3b1a7 removed the test network code 2023-02-22 23:26:06 +01:00
23b3824585 simplified a bit the packet class 2023-02-22 23:25:34 +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
39d44e7ec2 added a function to render board on the grid (unoptimised !!!) 2023-02-20 15:21:43 +01:00
f38f440e9d fixed a bug where creating a room and quiting it would not close the thread 2023-02-19 17:07:28 +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