Skip to content

Geoguesser/MSHackGeoGuesser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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