Commit graph

237 commits

Author SHA1 Message Date
giongto35
b964a387bd Detach room from handler 2019-05-16 02:00:23 +08:00
giongto35
cd0e408854 Check peerconnection is in room before detach and reconn 2019-05-16 01:04:54 +08:00
giongto35
b7ee97f108 Update encoder close 2019-05-14 03:04:57 +08:00
giongto35
6ce4ef7863 Update close encoder channel 2019-05-14 03:03:51 +08:00
giongto35
5dca4000f0 Maintain connection from browser 2019-05-13 23:34:06 +08:00
giongto35
efc3a781b0 remove all trace 2019-05-13 22:31:24 +08:00
giongto35
f8f6b12652 Merge pull request #26 from giongto35/update-test
Update test
2019-05-12 19:07:40 +08:00
giongto35
6391615b00 Merge branch 'master' into update-test 2019-05-12 18:55:02 +08:00
giongto35
e861c0c0fa Merge pull request #25 from giongto35/channel-free
Channel free
2019-05-12 18:53:18 +08:00
giongto35
52748796cd Merge branch 'master' into update-test 2019-05-12 18:51:34 +08:00
giongto35
494d46ca79 Add todo 2019-05-12 18:16:11 +08:00
giongto35
3ca1fd9d51 Remove unncessary 2019-05-12 18:15:04 +08:00
giongto35
2db6a31c16 Add sleep 2019-05-12 17:55:03 +08:00
giongto35
efdc4442d3 Update test rejoin with overlord 2019-05-12 17:47:39 +08:00
giongto35
be1a742501 update test comment 2019-05-12 17:37:04 +08:00
giongto35
292d3c3e2a Remove sleep 2019-05-12 15:13:18 +08:00
giongto35
34c030e9f9 Update test for reconnect with overlord 2019-05-12 15:11:59 +08:00
giongto35
5f16662b25 Update handshake signal 2019-05-12 13:30:48 +08:00
giongto35
387a63add2 Merge pull request #24 from giongto35/load-game-gcp
Load game gcp + Close unused channel to free up go routine
2019-05-12 00:51:43 +08:00
giongto35
59d3f69f95 Update test comments 2019-05-12 00:50:07 +08:00
giongto35
2b65cf0587 client closes peerconnection 2019-05-11 19:46:24 +08:00
giongto35
2084ca28a9 lock free input channel 2019-05-11 03:15:50 +08:00
giongto35
d32b34c7db Remove lock 2019-05-11 01:49:01 +08:00
giongto35
fc0f4d6e75 remove megaman which doesn't work 2019-05-10 01:56:34 +08:00
giongto35
bc97bc1e53 add recover for inputchannel 2019-05-10 01:51:39 +08:00
giongto35
c9de9471c9 Polling input channel together with done 2019-05-10 01:04:50 +08:00
giongto35
b108af3f54 Investigate slow 2019-05-10 00:22:15 +08:00
giongto35
663551a22f Update comment 2019-05-09 02:14:56 +08:00
giongto35
58f74af133 guard input channel 2019-05-09 01:56:07 +08:00
giongto35
56f7dc45d0 Close Leaked goroutine 2019-05-08 23:59:47 +08:00
giongto35
5c86ed3456 Free up resource after room is closed 2019-05-07 02:26:52 +08:00
giongto35
31b63e9d44 Remove log.Fatal 2019-05-06 01:57:55 +08:00
giongto35
be3608ba4b Remove hash 2019-05-05 23:46:40 +08:00
giongto35
0ebe53f335 Remove game in local check in director 2019-05-05 23:25:27 +08:00
giongto35
ef03d813f1 Load game from GCP 2019-05-05 23:19:47 +08:00
giongto35
45c8621179 update run script 2019-05-05 21:11:37 +08:00
giongto35
3226de0142 Update readme 2019-05-05 16:29:51 +08:00
giongto35
04239f7654 Add nil check for online storage 2019-05-05 13:39:29 +08:00
giongto35
226367bd44 Merge branch 'refactor' 2019-05-04 18:35:52 +08:00
giongto35
498c2a5e26 Merge branch 'touch' 2019-05-04 18:17:33 +08:00
giongto35
da2d8f8493 Update comments 2019-05-04 17:52:46 +08:00
giongto35
45c7d0269a Save load from cloud 2019-05-04 17:33:53 +08:00
giongto35
19d822f217 Save game load game to cloud 2019-05-04 04:03:08 +08:00
giongto35
cecdabc0d9 Cloud storage 2019-05-04 03:32:17 +08:00
giongto35
401940b717 Remove session after rejoin few times 2019-05-04 01:52:05 +08:00
giongto35
485b30389d Remove un necessary comments 2019-05-03 02:25:00 +08:00
giongto35
5d26d465a4 Separate room logic 2019-05-03 02:22:01 +08:00
giongto35
8929b5897a Add save and load 2019-05-03 02:04:32 +08:00
giongto35
8b7e240e7e Update test path and game path 2019-05-03 01:49:23 +08:00
giongto35
5c00d42789 Fix register room bug 2019-05-02 04:16:45 +08:00