A browser-based Tamagotchi-style game where users take care of a virtual pet by managing its core needs: hunger, happiness, and energy.
The goal was to explore how simple mechanics and feedback loops can create an engaging and emotional user experience. The game is built entirely with vanilla JavaScript, HTML, and CSS, without using any external frameworks.
The experience is centered around maintaining balance. Every actionโfeeding, playing, or sleepingโaffects multiple stats, forcing the player to make small strategic decisions. Over time, the pet evolves through different life stages (Egg โ Adult), creating a sense of progression and attachment.
Balance hunger, happiness, and energy to keep your pet alive.
Watch your pet grow through 5 stages from Egg to Adult.
Surprise events that influence your pet's stats dynamically.
Challenge mode - if any stat reaches zero, game ends.
Animations and state indicators reinforce interactions.
Lightweight, framework-free implementation.
This project helped me better understand: