pairs
A real-time, multiplayer virtual reality matching pairs game built with ReactVR, Redux and websockets.
To play pairs on your local host:
- Run
npm run-script relayto start a wsrelay websocket relay server. - Run
npm startin a second shell to serve the ReactVR application. - Open
http://localhost:8081/vr/in multiple web browsers to play pairs.
To play pairs over the internet:
- Run
npm run-script relayto start a wsrelay websocket relay server. - Run
ngrok http 4000to create an ngrok tunnel to your relay server. - Replace
ws://localhost:4000withws://...ngrok.iousing the forwarding address from ngrok in index.vr.js. - Run
npm startin a second shell to serve the ReactVR application. - Run
ngrok http 8081to create a second tunnel to serve your ReactVR application. - Open
http://...ngrok.io/vrusing the second forwarding address in multiple web browsers to play pairs.