Inspiration

This game was inspired by playing a lot of Worldle but getting frustrated when the name of a country slipped my mind. I wanted a game where you can get the answer without having every country name memorized.

What it does

TerraTherma is a daily geography game built around deduction. Deduce the mystery country based on the hot-and-cold feedback to refine your next guess. A new set of countries every day!

How I built it

I started with building the basics of user input of guesses from a list of countries. Then I used python to generate the required dataset for calculated the hot/cold values for every pair of countries from a python library (countryinfo). Extra work had to be put into getting the scaling for the population to feel right. I used a logarithmic scale where each power of ten represents about 10% of the bar so that there was meaningful feedback for the wide array of populations. Then I integrated the map from a Wikipedia SVG and and a pan and zoom library. After that I worked on styling the map based on user clicks and previous guesses. I had to find a map that had a common country code with my dataset. After all the features were in place I worked on styling and UX.

Challenges we ran into

Finding an svg world map that had all of the countries as seperate interactable elements and matched my data source was difficult. The logic around saving/loading game state, streaks, and returning player took a while to get right.

Accomplishments that we're proud of

I am proud making a geography game that appeals to a wide array of users while still having a high skill-ceiling.

What's next for TerraTherma

I want to continue to improve it based on user feedback. Bringing in a 3D globe would be fun. Additional stats for users that play each day.

Built With

Share this project:

Updates