AGS- and facebook-github-bot Cleanup Lint
Differential Revision:
D9213025

hg-to-perforce: landcastle instance https://our.intern.facebook.com/intern/sandcastle/40361821909/1148837579/

fbshipit-source-id: 561478d5d5fb8e46a178f3253d4618de16ecf78d
Latest commit c3e7e7f Aug 7, 2018

README.md

pairs

A real-time, multiplayer virtual reality matching pairs game built with ReactVR, Redux and websockets.

To play pairs on your local host:

  1. Run npm run-script relay to start a wsrelay websocket relay server.
  2. Run npm start in a second shell to serve the ReactVR application.
  3. Open http://localhost:8081/Examples/Pairs/vr/ in multiple web browsers to play pairs.

To play pairs over the internet:

  1. Run npm run-script relay to start a wsrelay websocket relay server.
  2. Run ngrok http 4000 to create an ngrok tunnel to your relay server.
  3. Run npm start in a shell on each machine to serve the ReactVR application.
  4. Open http://localhost:8081/Examples/Pairs/vr/#ws://...ngrok.io in a web browser on each machine (set the hash fragment to the forwarding address from ngrok) to play pairs.