gsx95 / georgguessr Goto Github PK
View Code? Open in Web Editor NEWAn open source clone of Geoguessr that can be hosted serverless for free in your AWS account
An open source clone of Geoguessr that can be hosted serverless for free in your AWS account
Create a POC to evaluate if Vue.js is a good approach to render the frontend.
Routing, templating and espacially the two-way binding could be a big benefit.
use sam local with a local dynamodb docker container to run tests and for development purposes without deploying
everything is ugly, maybe find someone who is not a total design-idiot
so that after a refresh during a game, the game can be continued
We currently generate random positions in the backend, but because the streetviewservice only offers a Javascript Library and no direct API, the client has to generate the actual streetview positions (which might differ from the random generated positions in the specified area(s)).
We should find a way to find the nearest streetview ID for a given random point in the backend.
make sure (e.g. with a secret) that a player can only post his own guesses
When getting countries by continent, some countries are included in multiple continents.
E.g. when doing this query against WikiData, it returns Denmark as a country in North America.
If you view Denmark here, you can see that it has two continents as properties; Europe because of the region Denmark & Faroe Islands and North America because of Greenland.
We should find a way to adjust our query so that countries only come up when the higher ranking continent (in this case europe) fits
when drawing a custom play area, the areas are also shown in the minimap during the game.
This should also be possible when selecting cities via the search bar
We have to update the starting positions in our DB once all streetview positions are generated
When the player creates a room, first check if we can create streetviews with the players settings (e.g. whether we can get the boundaries for every selected city, or whether there is at least one city with x population in the selected country / continent).
Then, create just one streetview and let the player begin the game. Trigger a lambda function to fill the room with the missing streetviews. If the player clicks on "Next round", check whether the next streetview is already generated and if not, wait.
This should also minimize the perceived loading times #21
so that games are deleted after X hours
If there is an error while creating a room, the loading screen just never ends.
e.g. don't use streetviews on trails, forest paths, etc.
currently, the room creator is redirected to "/createRoom", on which the client generates streetview positions and posts them to the backend.
We are not making sure that only the creator can post those positions, so anyone who knows a game ID that is in creation (and gets the timing right) can cheat.
We often have the case that the randomly selected streetview panoramas are places where you actually can't move. Hopefully there is a flag or other mechanism to solve this
E.g. "Afrikaskop" --> is not an "administrative" feature in openstreetmap but just a single point. --> use all suitable feature types
E.g. "Bernau bei Berlin" not working -> didn't look yet why
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.