A real-time, multiplayer virtual reality matching pairs game built with ReactVR, Redux and websockets
JavaScript HTML
Latest commit ef6f436 Jan 9, 2017 @jimpurbrick Clean up README.md.

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/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. Replace ws://localhost:4000 with ws://...ngrok.io using the forwarding address from ngrok in index.vr.js.
  4. Run npm start in a second shell to serve the ReactVR application.
  5. Run ngrok http 8081 to create a second tunnel to serve your ReactVR application.
  6. Open http://...ngrok.io/vr using the second forwarding address in multiple web browsers to play pairs.