Commit Graph

50 Commits

Author SHA1 Message Date
2ae9a579e2 refactor GameManager for Game model and fix user connection issue 2022-08-01 21:36:47 +03:00
24560c0b1c replace MancalaGame to Game 2022-08-01 21:35:25 +03:00
b48aa0847e add game model 2022-08-01 21:34:42 +03:00
126431ccf1 refactor GameStore
add new query methods
2022-07-31 00:10:34 +03:00
c4e399d3d4 add game id route 2022-07-30 16:14:37 +03:00
ceaf70ef05 do not send on game update when user connected 2022-07-30 16:14:08 +03:00
228fd8cef7 implement on_user_connection_change 2022-07-23 00:32:55 +03:00
5e242ca9ba add User and UserConnectionInfo models 2022-07-23 00:32:16 +03:00
80d9401733 add listenOnClientConnectionChange to rtmt 2022-07-23 00:31:50 +03:00
91ec5446bd set PING_INTERVAL 15000 2022-07-17 22:21:03 +03:00
6fb4631d8a check waiting player is online 2022-07-16 22:25:05 +03:00
1473994580 add isClientOnline 2022-07-16 19:00:30 +03:00
daa53208d0 add ping pong messaging 2022-07-16 18:46:04 +03:00
4158779c82 Merge branch 'develop' into feature/ping-pong 2022-07-16 18:03:02 +03:00
daacefc5fa add ping pong channel names 2022-07-16 18:00:39 +03:00
582a56bed0 fix express issue 2022-07-16 17:44:49 +03:00
fde8a83331 refactor index.ts 2022-07-15 21:44:16 +03:00
540c2a25d6 add GameManager 2022-07-15 21:44:16 +03:00
e8cfdefb7d add WebServer 2022-07-15 21:44:16 +03:00
bb42643e20 add ExpressApp 2022-07-15 21:44:16 +03:00
1b1b931dfc add GameStore 2022-07-15 21:44:16 +03:00
d97ae80c67 refactor MatchMaker 2022-07-15 21:44:16 +03:00
90d55d4063 move GameCrashManager to game 2022-07-15 21:44:13 +03:00
78c2ebdaea move key_factory to util 2022-07-15 21:41:17 +03:00
2ff93b2ae4 move channel_names to consts folder 2022-07-15 19:29:55 +03:00
ef8cbeacb1 add random user turn when game started 2022-07-09 17:11:02 +03:00
2f8a95a971 add GameCrashManager 2022-05-06 00:46:32 +03:00
f92248c6d3 use unique key for mancala game 2022-05-06 00:07:41 +03:00
de33ee5f92 log to acces.log file 2022-05-05 23:56:02 +03:00
e34137c68c migrate to mancala.js 2022-05-04 23:18:29 +03:00
c18503a132 add GameMove model 2022-05-04 23:17:13 +03:00
bd1b6dbb95 remove mancala.ts 2022-05-04 23:16:18 +03:00
4605e27d81 fix : matchmaker issue 2022-04-23 14:17:54 +03:00
1a7a83a981 feature : new rtmt arch 2022-04-23 12:54:56 +03:00
4972b61621 remove console.log 2022-04-11 22:39:05 +03:00
e6ce402784 add logging 2022-04-11 22:25:49 +03:00
8baa4ba35c fix ts error 2022-04-09 21:11:51 +03:00
0254cfdf4a added who won text 2021-07-04 01:52:10 +03:00
d67904fe34 now sending message when user leaves the game 2021-07-04 01:05:36 +03:00
5a08e30df1 now catching the game crash and sending to the client 2021-07-04 00:44:15 +03:00
fb12557ed7 bug fix stopIndex%circle.length 2021-07-03 18:56:27 +03:00
fabc2ce07d added won player and lastIndex overflow bug 2021-07-03 18:23:48 +03:00
a5b9ec2513 added ending game to mancala 2021-06-30 19:27:38 +03:00
4bef322d90 completed basic game flow 2021-06-29 03:26:12 +03:00
c0c1238b25 added rtmt 2021-06-29 03:25:42 +03:00
e0fd248466 added matchmaker 2021-06-29 03:25:15 +03:00
5b690521a1 added mancala.ts 2021-06-29 03:24:50 +03:00
8e0d7d5d57 added rtmt 2021-06-27 19:28:09 +03:00
7829e53ecf tested websocket 2021-06-27 02:45:40 +03:00
9cac3a1b8f express hello world 2021-06-27 01:41:52 +03:00