Commit Graph

69 Commits

Author SHA1 Message Date
Nathaniel Tampus
c548f10d63 cleanup comment 2023-03-06 15:10:00 +08:00
Nathaniel Tampus
fd66897ecd start pgn with empty string 2023-03-06 14:35:18 +08:00
Nathaniel Tampus
0a3fd532cd leaveLobby improvements 2023-03-06 13:26:49 +08:00
Nathaniel Tampus
754d149c4a session id detection improvements 2023-03-06 13:06:23 +08:00
Nathaniel Tampus
fe0e045fd8 show player disconnected state 2023-03-06 12:42:49 +08:00
Nathaniel Tampus
5699663dd2 don't remove player on disconnect 2023-03-05 19:03:58 +08:00
Nathaniel Tampus
f3eaf23a8f use req.params directly 2023-03-04 18:44:20 +08:00
Nathaniel Tampus
6dc9f1a18a update game endpoints
for getting all public games and finding specific games with code
2023-03-04 18:36:43 +08:00
Nathaniel Tampus
572eb22fc6 Merge branch 'main' into dev 2023-03-02 19:42:35 +08:00
Nathaniel Tampus
44d460bbec remove winner field from db 2023-03-01 22:45:17 +08:00
Nathaniel Tampus
96280b6d71 env variables for easier dev setup 2023-02-16 21:33:17 +08:00
Nathaniel Tampus
279f1b0f63 increase socket ping interval & timeout 2023-02-16 21:28:54 +08:00
Nathaniel Tampus
4676a99714 env variables for easier dev setup 2023-02-06 14:48:31 +08:00
Nathaniel Tampus
bd39cf8c46 npm workspaces, NodeNext for server 2023-02-05 13:49:40 +08:00
Nathaniel Tampus
dc233b2c84 server-side move validation improvements 2023-01-16 15:25:39 +08:00
Nathaniel Tampus
a65202357e add timeout for inactive games
#1
also removed some redundant code
2023-01-16 15:10:53 +08:00
Nathaniel Tampus
e823fb15e9 handle invalid move exceptioin & support promotion 2023-01-16 14:36:55 +08:00
Nathaniel Tampus
dd4e51eeaf change default api port 2023-01-03 16:14:07 +08:00
Nathaniel Tampus
17ce3cf4c4 move to public repo 2023-01-03 15:47:30 +08:00