Commit Graph

16 Commits

Author SHA1 Message Date
44b3a6ff60 Merge branch 'master' of https://gitea.arnweb.nl/arne/TanksJS-Server 2020-11-27 19:08:58 +01:00
e4ae27ee11 Fixed disconnect bug and added room game status
Players will not be able to join a game that has already started
2020-11-27 19:08:20 +01:00
462bbac9ce Merge pull request '[feature]: Added spectating' (#2) from corner/TanksJS-Server:master into master 2020-11-08 19:35:25 +01:00
c97714cb75 [feature]: Added spectating 2020-11-08 19:25:26 +01:00
9b4424c830 Changes to conform socket.io version 3 2020-11-07 15:23:52 +01:00
da4e418707 Merge pull request 'Fixed a bug which causes the server to crash when a player that wasn't in a room disconnected.' (#1) from corner/TanksJS-Server:no-room-crash into master 2020-05-18 10:16:34 +02:00
889d9a8065 Fixed a bug which causes the server to crash when a player that wasn'y in a room disconnected. 2020-05-17 20:24:04 +02:00
98e8ac05bb Changed the console loggings 2020-04-28 13:50:50 +02:00
b351b281bd Changed gamemode to playersMax
Gamemodes will have to be defined on the clients side
This is to help make the server support different games
2020-04-28 13:24:40 +02:00
c31d9de3af Added variable gameID's 2020-04-28 12:19:29 +02:00
0096d47138 Added json response to http get and added port var 2020-04-28 11:58:41 +02:00
6965c823fc Added support for dynamic room creation 2020-04-24 22:52:55 +02:00
b0d0eb01aa Now sending player data rather than controls 2020-04-24 12:28:56 +02:00
e0baa9cd3f Made multiplayer support semi working
The server is unstable and crashes often
2020-04-23 22:35:24 +02:00
1b52ac9f7b [wip] Added basic client - server communication
Encountering issues with socket id's in players array
2020-04-22 20:17:09 +02:00
0439c5ff6c First Commit 2020-04-21 09:42:22 +02:00