Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.41 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.41 KB

Netlify Status

Ryoko

What is it?

Ryoko is a browser game that drops you in a random location around the world and has you try and guess where you are located. After 5 rounds your score is totalled and added to a leaderboard.

Try playing the game here: https://www.ryoko.gg/

What about Geoguessr?

We are big fans of the original Geoguessr game and that is what inspired this version.

Something isn't working as intended

Please feel free to open an issue or submit a pull request

Development

  1. Add a .env to your root directory with the following environment variables set:
GOOGLE_SIGN_IN_CLIENTID
GOOGLE_SIGN_IN_SECRET
HEROKU_POSTGRES_HOST
HEROKU_POSTGRES_DATABASE
HEROKU_POSTGRES_USER
HEROKU_POSTGRES_PORT
HEROKU_POSTGRES_PASSWORD
HEROKU_POSTGRES_URI
EXPRESS_SESSION_SECRET
  1. Add a .env file to your client/ directory with the following environment variables set:
REACT_APP_GOOGLE_MAP_KEY
REACT_APP_PLAYFAB_GAME_ID
REACT_APP_WATER_IO
REACT_APP_PLAYFAB_LEADERBOARD
  1. Install the npm packages within the root directory and the client/ directory.
cd client/ && npm install
  1. Now you should be able to run the program locally. Start the program in both the root directory and the server/ directory.
npm start