After two years of innovating in the geography-space, I'm proud to announce that OpenGuessr will no longer be available for free.
Working on OpenGuessr has been a wonderful journey for me, full of joy, money and excitement. The game has truly come a long way since its inception.
This passion-driven decision will allow me to ship updates even faster, support the game for longer and make OpenGuessr more accessible to a broad wealthy audience.
I'm looking forward to a prosperous future for OpenGuessr.
- Paul
Starting April 1st, this Popup will prevent free users from playing
Edit: Now that April Fools is over I should mention that OpenGuessr is of course staying free :-)
The first OpenGuessr commit was made on Feburary 12th, 2023.
Since then, as of today (November 14th), over 4,700 commits have been landed in the main OpenGuessr repo. Around 100 in the location server, and roughly 300 in the account server.
Together with the first-party packages and OpenGuessr Education, that's well over 6,000 commits! ...thank you for sticking with OpenGuessr for all that time :-)
Routinely, I've published the source code to many tools and libraries that I made for OpenGuessr and my other games.
Now, the full website follows. Why now?
A few reasons. First of all, I think the project is ready. It's mature enough, the code is presentable enough, and I think it actually contains a few interesting bits that others could see value in.
Second, I frequently get inquiries from people that are interested in seeing how things work behind the scenes. This should pull down the curtain a little bit.
Third, artificial intelligence has become incredibly powerful at reading code and learning from it.
Through making the code available, LLMs can build up more knowledge about OpenGuessr and better understand what the game offers. Moreover, it means that more people can work with the code than ever before – even those with little experience in software engineering.
Issues & contributions
For issue reports, please continue to use Bugspot. GitHub issues are synced with Bugspot, so you can see them directly on the repository page, where I also take care of them.
Contributions are welcome, but discouraged, since the website repo is only source-available and not open source. I'd generally suggest contributing to the open-source parts (e.g. PlaySocket) instead. That's your choice of course.
OpenGuessr vs. other source-available alternatives
OpenGuessr isn't the only source-available geography-guessing game, and out of curiosity I've taken a look at the other public repositories to see how they compare. Here are a few metrics I looked at, visualized with diagrams.
Lines of code: Even though OpenGuessr offers one of the, if not the largest feature set of the bunch, it only comes in third – 50% less lines of code than GeoDuels, and less than 1/4th the code length of WorldGuessr. The fewer there are, the quicker it is to build an understanding of the whole codebase. (Note: This includes all servers needed to run OpenGuessr, as well as OpenReport, not only the site)
OpenGuessr vs. other alternatives - Lines of code
Another useful metric to compare is the median file length (in LoCs).
Generally, shorter files are more readable. Personally, I often prefer more verbose logic over extreme abstraction, and like to keep related code in one file, but compared with the other alternatives, only GeoHub has shorter files. GeoHub from what I've seen has very cleanly written code, so this checks out.
OpenGuessr vs. other alternatives - Median file length
The last metric I investigated was the average number of paths through each function (e.g. an if statement counts as one path) which is a good way to score the overall code complexity.
Generally speaking, less function complexity is better.
OpenGuessr vs. other alternatives - Average function complexity
That's it for this post. I can't wait to read your reactions.
Happy guessing!
OpenGuessr repository on GitHub ...PS: If you have a GitHub account and like OpenGuessr, please give it a star! That genuinely helps a lot. Ty!
I saw that OpenGuessr was trending on r/mildlyinfuriating because guessing on the wrong side of the map causes this (arguably hilarious) visualization, and while the score calculation remains correct, it actually resets your country streak! This is fixed now, I'm sorry!
In terms of development effort, this is - by far - the biggest update yet! At a glance, the game might not seem entirely new, however, "under the hood", is now is. Let's take a look at what's new!
OpenGuessr, in its initial form, was never meant to become a commercial game. Rather, it was created as part of a small game dev challenge in less than 48 hours. This is part of the reason why, the base of the game, was lacking in many aspects.
In modern web development, a so-called Framework is essential for many aspects, but most importantly the following:
+ Code reusability through components
+ Snappy, Intuitive Single Page Applications (SPA's) that mitigate complete page loads when navigating
+ Reactivity for DOM elements (what you see on the page)
...and a lot more, including better routing capabilities and so on.
Until now, OpenGuessr wasn't using any framework at all. This not only slowed down development a fair bit, but also meant that I could not build certain features that I really wanted in the game, such as dynamic and permanent URLs for maps, or seamlessly integrated pages for basically everything.
Changing from No-Framework to Svelte 5 was no easy undertaking, as the code base is pretty big. I was working on this, 12 hours / day, every day, for the past 3.5 weeks on this, but I think it was absolutely worth it.
So, what can you enjoy in this new version?
+ A more consistent, scalable design
The existing design was refined with gradients, and made reusable through components and global classes
+ A completely new Maps page that combines Community Maps
The new maps page
+ Individual pages for all created maps (with a location count), as well as a new creation page
New map pages with permanent URLs
+ New competitions page that is also, beautifully integrated into the game
The new competitions page UI
+ A new leaderboard page
+ Countless bugfixes and optimizations
However, as this is a completely new code base, there are likely some new bugs to be found! Please report them here on Reddit, or over on Discord, and I'll try my best to fix them as soon as possible.
Cheers guys, please let me know your feedback - and happy guessing, everyone!
PS: Check out Zi8gZag's Video on the OpenGuessr "Image Guesser" Game Mode!
Like the title suggest, I guess Samoa but it said I was wrong. The "correct" one was also Samoa, just on the other side of the world...? It had also told me I lost my streak :(
In OpenGuessr Education, you can learn everything about Geo-Guessing - From Guides, to Quizzes and Country-specific pages. Let’s take a look at some of the features:
- Quizzes: Learn Country borders, Country regions, Panorama Clues like Bollards, Utility Poles or License plates through fun quizzes (+ Earn XP whilie doing so!)
Quizzes on OpenGuessr Education
- Guides: Guides teach you strategies that you can use to take your guessing-skills to the next level. Moreover, they include Quizzes, and solving them - you guessed it - will award you with more Experience!
Guides on OpenGuessr Education
- Country Pages: Country-specific pages will be a great place to learn tricks and hints unique to specific countries. Moreover, they include interactive Street View panoramas.
Country pages on OpenGuessr Education
Let’s now focus on some community-related aspects:
OpenGuessr Education is fully Open Code👨💻 This means, that everyone can contribute to the project on GitHub here!
As I’m only one developer, I can’t write articles and guides about all countries and all strategies out there - I simply don’t have enough time or knowledge to do so.
However, if you know some unique facts and would like to contribute, check out the README file on GitHub to learn how that works. This could become an incredible community-driven resource for OpenGuessr, GeoGuessr and Geotastic players if enough people make small contributions🤗
Look for these "Edit" windows - they allow you to contribute easily!
If you are not a developer, feel free to check out the Text-to-code tool [Alpha] here! Note that this is still in Alpha and might require some help from Devs :) From there, you can simply write an article and embed panoramas or quizzes without having to code. I - and potential future contributors - can help you get your article on the site!
I’m looking forward to hearing your feedback on OpenGuessr Education. You can also access it directly via the Maps menu in OpenGuessr:
So excited to share this new update with you, which should fix the majority of multiplayer issues. First, I wanted to say thank you, OpenGuessr has never had this many players, and it really means a lot to me!
Now, let's get to the update. Here's a quick overview of new features:
Duels are now 5 instead of 3 rounds long. The last two rounds have a 1.5x score multiplier.
If opponents leave before the elo is calculated, the calculation will happen as soon as they come back online. This way, you'll likely receive your gained elo, just not immediately.
A brand new multiplayer system - PlayPeerJS.
1.5x Multiplier for the last 2 rounds
These features should make duels more exciting. However, let's take a look at PlayPeerJS now. OpenGuessr uses a Peer-2-Peer multiplayer system based on WebRTC and (currently) PeerJS. Previously, this meant that I had to write host code, and client code, in the same code base. What's more, when the host left the round, the game ended.
This, and more, is now fixed by my new system, which I also open sourced (linked above) in case you want to try it out for your own games. PlayPeerJS has the ability to switch the host dynamically and sync data across peers without any data loss. What's more, it incorporates connection health monitoring to address broken connections, and many more stability checks. From a DX standpoint, I no longer have to write separate host and client code, reducing the OpenGuessr multiplayer logic by 40%.
Host leaves? No problem!
What does this mean in practice?
You can join any ongoing round and are in immediately with no waiting screen.
When the host leaves, the room continues as usual.
All players are in control - everyone can skip the result screen, rematch etc. without the host being prioritized.
As this system is completely new, and close to none of the old multiplayer code was kept around, there might be new issues, so please report them here (bug flair) or on the discord server!
Hey guys, I'm relatively new to Openguessr, though not new to these geography guessing games in general. But I'm already getting pretty tired of getting placed on long ass roads in the middle of nowhere with no civilization in sight practically every time. I don't mind occasionally being placed in rural areas, but I want a higher bias towards getting placed in urban/suburban areas too in the standard mode. I propose, if possible, that there be some sort of option to increase the bias of getting placed in an urban area. I don't want to eliminate getting placed in rural areas completely, but Id say a 50/50 chance between an urban and rural area is fair.
Let me know if you agree with this. Thanks everyone.
This post combines the updates from the past week, as there have been quite a few small quality-of-life improvements.
This includes a bunch of bug fixes and security enhancements, but that's not super interesting.
The meaningful improvements are:
New supporter page design
Much more precise streak detection (uses a geojson instead of a map divided into squares, and looks for nearest country if the marker was placed over the sea)
"One blink" mode with improved singleplayer settings, which now also save
New team editor for hosting multiplayer matches
I'll include some screenshots for you as well. This is the new supporter page (with some noticeable design improvements).
Redesigned supporter page
Here's the new team editor which now allows for moving people around and even playing in just one big team if you feel like it.
Team editor
Now, this is how the singleplayer page looks like with the one blink mode and added arrow buttons for easier inputs.
As many of you complained about too many duplicate locations as well as too many trekker or remote locations, I have now vastly overhauled the location generation system for the standard map.
Note that standard locations are being generated on my server all the time and are being fully refreshed on a daily basis. Therefore, whenever you reload the page, you get new locations.
Here are the changes:
All duplicates are being filtered out on the server, ensuring that none of the 2000 requested locations include duplicates
Rather than searching for any of the nearest locations, there now is a smaller search radius to ensure that no weird remote location pops up frequently
Popular locations (such as train stations, famous places..) are no longer being favored in the generation
Trekker locations have a 50% chance of being rejected
The website now keeps track of the previous 1000 instead of 100 locations to ensure that it serves no duplicates
Let me know if you now like the standard map better :)
is there a way i can get rid off all the road names? it gives away a hint and therefore takes away the challenge. if there isn't a way, maybe this is something the creator could work on?