Tuesday, April 15, 2025

The Tariff Busting Map Game

Introduction: The Egg Crisis

In a world where breakfast has become a luxury, an evil empire has imposed crippling tariffs on eggs, sending prices skyrocketing. Omelettes are now a distant memory for the average citizen, and scrambled eggs are a delicacy only the wealthy can afford. But hope is not lost! Rebel forces have uncovered a loophole in the empire's trade barriers - by launching eggs directly into strategic targets across the USA, you can disrupt the tariffs and bring egg prices back down to earth.

Welcome to Angry Eggs, a map-based catapult game where your mission is simple: fire eggs at targets to evade trade tariffs and make breakfast affordable again!

How to Play Angry Eggs

1. Launching Your Egg

Aim & Pull: Click and drag the egg away from the center of the screen to set your trajectory. The further you pull, the harder you launch!

Release: Let go to fire your egg across the map. Watch as it soars through the air—will it hit its target?

2. Hitting Targets

Red Zones: Your objective is to land eggs inside the red circular targets scattered across the USA.

Economic Impact: Every successful hit causes egg prices to plummet, giving the people relief from inflation.

Missed Shots: If you miss, prices keep rising—so aim carefully!

3. Tracking Progress

Egg Price Tracker: A live ticker shows the fluctuating price of eggs. Watch as your hits cause dramatic market crashes.

Distance Indicator: An arrow points toward the nearest target, helping you line up your shots.

Behind the Scenes: How Angry Eggs Works

Angry Eggs is built with JavaScript and MapLibre GL, an open-source mapping library that brings real-world geography into the game. Here’s how it all comes together:

Catapult Physics: The egg-launching mechanic uses vector calculations to determine trajectory, making each shot feel dynamic.

Procedural Targets: The game generates random targets across the USA, ensuring no two playthroughs are the same.

In truth I started developing Angry Eggs as a joke rather than as a fully-blown map game. It is being released on TripGeo Labs as it really isn't a fully developed game. I do think, however, that there is potential to use some of the features of Angry Eggs to develop a much more engaging map based 'golf-game'.

Play Angry Eggs

No comments: