diff --git a/README.md b/README.md index 7d0e5d89..c1efdff1 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,8 @@ Because the coordinator and workers need to run simultaneously. Workers connect By clicking these deep link, you can join the game directly and play it together with other people. - [Play Pokemon Emerald](http://cloudretro.io/?id=652e45d78d2b91cd%7CPokemon%20-%20Emerald%20Version%20%28U%29) - [Fire Emblem](http://cloudretro.io/?id=314ea4d7f9c94d25___Fire%20Emblem%20%28U%29%20%5B%21%5D) +- [Samurai Showdown 4](https://cloudretro.io/?id=733c73064c368832___samsho4) +- [Metal Slug X](https://cloudretro.io/?id=2a9c4b3f1c872d28___mslugx) And you can host the new game by yourself by accessing [cloudretro.io](http://cloudretro.io) and click "share" button to generate a deeplink to your current game. diff --git a/go.mod b/go.mod index 0cb8e3b1..0b9d9f12 100644 --- a/go.mod +++ b/go.mod @@ -9,6 +9,8 @@ require ( github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b github.com/gorilla/mux v1.7.3 github.com/gorilla/websocket v1.4.0 + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/modern-go/reflect2 v1.0.1 // indirect github.com/pion/webrtc/v2 v2.2.0 github.com/prometheus/client_golang v1.1.0 github.com/spf13/pflag v1.0.3 diff --git a/web/js/input/input.js b/web/js/input/input.js index fe3e45c9..e809e3ba 100644 --- a/web/js/input/input.js +++ b/web/js/input/input.js @@ -57,7 +57,6 @@ const input = (() => { let arrBuf = new Uint8Array(2); arrBuf[0] = data & ((1 << 8) - 1); arrBuf[1] = data >> 8; - log.info(arrBuf) event.pub(KEY_STATE_UPDATED, arrBuf); unchangePacket--;