Inspiration

We wanted to get people outside and exploring their communities while adding a competitive twist. Inspired by the territorial nature of games like Risk and the real-world exploration of Pokémon GO, we imagined: "What if every street corner was a strategic point to capture?" The idea that weather and terrain could affect gameplay came from wanting the real world to meaningfully impact the virtual game.

What it does

TerraConquest transforms the real world into a massive multiplayer territory-control game. Players join one of five color-coded teams, each with unique advantages based on terrain and weather. You physically walk to locations to plant virtual flags, claiming territory for your team. The game responds to real-time weather data and geographic features - making beaches favorable for Blue team during storms, or giving Red team advantages in cities during heat waves.

How we built it

We built TerraConquest as a mobile-first Progressive Web App using React and TypeScript. The backend runs on Supabase for real-time data sync and authentication. We integrated Google Maps for the game world, Mapbox APIs for terrain detection, and OpenWeatherMap for dynamic weather effects. The entire experience is styled with Tailwind CSS and animated with Framer Motion to create smooth, native-feeling interactions.

Challenges we ran into

1) In general, Supabase authenticaion can be difficult. There was a lot of debugging and fighting, but it's working well and is very stable now.

2) Another challenge was making terrain detection work reliably. We initially tried using elevation data but realized we needed actual landcover information. After experimenting with multiple APIs, we discovered Mapbox's tilequery combined with their geocoding API could accurately detect if players were near water, in forests, or in urban areas.

Accomplishments that we're proud of

We're most proud of how the game genuinely incentivizes exploration. The terrain and weather advantages mean the optimal strategy changes throughout the day - morning joggers might find different advantages than evening players. We also created a balanced team system where no single team dominates; every team has moments to shine based on real-world conditions.

What we learned

We learned that building location-based games requires careful consideration of player safety and privacy. We also discovered that real-world data (weather, terrain) can create incredibly dynamic gameplay without complex AI. Most importantly, we learned that simple mechanics (plant flag, claim territory) combined with real-world context creates surprisingly deep strategic gameplay.

What's next for TerraConquest

Our roadmap includes social features like team chat and guilds. We also intent to change the perspective post-MVP. They "final" app version will likely have a more 3D look with a third-person perspective and a sky box (to depict weather/geotype more clearly).

Share this project:

Updates