Inspiration
Protect the Egg started with a simple idea. I wanted to make a tower defense game where the thing you are protecting is also part of your progression.
Instead of defending a normal base, players protect an egg. Every wave the egg survives increases its hatch progress. The player then has a choice. Hatch early and receive a weaker guardian, or keep fighting and risk the egg for a stronger reward. Reaching 100% gives the player a chance to earn one of the Super Rare guardians.
I wanted that decision to make every wave matter.
What it does
Protect the Egg is a single player portrait tower defense game built for mobile play.
Players place animal defenders between incoming enemies and the egg. Each defender has different damage, range, attack speed, and abilities. Defeating enemies earns coins that can be used to place defenders, upgrade them, swap them, or activate a temporary shield.
As the egg survives waves, its hatch percentage increases. Hatched guardians permanently join the defense and become part of a collection featuring 50 regular guardians and 10 Super Rare guardians.
The main gameplay loop is simple:
Protect the egg. Earn coins. Upgrade your defense. Survive another wave. Build hatch progress. Decide when to hatch. Collect stronger guardians.
How I built it
I built the prototype using HTML, CSS, and JavaScript with AI assistance throughout the development process.
The game went through several concepts before becoming Protect the Egg. Once I found the core idea, I focused development around one screen and one clear objective.
AI helped with brainstorming, gameplay systems, code generation, debugging, balancing ideas, interface refinement, and testing different approaches. I continued adjusting the prototype based on how the game actually felt to play.
Challenges I ran into
One of the biggest challenges was keeping the battlefield readable on a portrait mobile screen. Early versions had defenders too close to the egg, which made the action difficult to understand.
I also encountered gameplay bugs involving attacks, enemy spawning, defender upgrades, and wave resets. Those problems led to several rounds of testing and rebuilding parts of the game.
Another challenge was knowing when to stop adding features. I ultimately focused on strengthening the core gameplay instead of making the prototype unnecessarily large.
What I learned
The biggest thing I learned is that a simple mechanic can become much more interesting when the player has a meaningful decision attached to it.
The hatch system became the heart of the game because waiting creates both greater risk and greater reward. That one decision connects the tower defense gameplay, progression system, guardian collection, and replayability.
What’s Next
The next step for Protect the Egg is expanding the game while keeping the core experience simple and easy to understand.
I want to give every guardian more unique abilities and animations, add new enemy types and boss encounters, and create additional environments with different challenges. I also want to expand the collection system so players have more reasons to keep hatching eggs and discovering rare guardians.
Long term, I would like to add deeper progression, more strategic defender combinations, achievements, and special events.
Most importantly, I want to continue building around the mechanic that makes Protect the Egg unique: deciding whether to hatch now or risk another wave for a stronger guardian.
Built With
- chatgpt



Log in or sign up for Devpost to join the conversation.