Skip to content
Notifications You must be signed in to change notification settings

ManikaKutiyal/DigitalDog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

981335b · · Sep 29, 2025

History

14 Commits
Jul 28, 2025
Sep 29, 2025
Jul 28, 2025
Jul 28, 2025
Jul 28, 2025

Repository files navigation

Digital Dog 🐶

Digital Dog is a fun and interactive virtual pet web app where you can adopt, name, and take care of your own digital dog. It tracks your pet's hunger, happiness, energy, and health, and lets you interact with it through feeding, playing, and putting it to sleep. If your dog’s stats drop too low, it “dies,” but you can revive it and start fresh!


🎮 Features

  • Adopt and name your digital dog.
  • Track stats: Hunger, Happiness, Energy, Health.
  • Perform actions: Feed, Play, Sleep, Revive.
  • Dynamic updates in real-time based on your actions.
  • Nostalgic and engaging Tamagotchi-style gameplay.

🛠️ Tech Stack

  • HTML – structure of the app
  • CSS – styling and responsive design
  • JavaScript – game logic, DOM manipulation, and state management

🚀 How to Run Locally

  1. Clone the repository:
    git clone https://github.com/yourusername/digital-dog.git

Open index.html in your browser.

Start interacting with your digital dog!

💡 What I Learned Managing game state with JavaScript objects and variables..

Dynamic DOM updates to reflect changes in real-time.

Designing interactive user experiences with simple mechanics.

Balancing fun and functionality in a small project.

📌 Future Improvements Add animations and sound effects for more engagement..

Save pet stats in localStorage to persist between sessions.

Mobile-friendly responsive design for better playability.

Add multiple pets and different breeds.

📝 License This project is open source. Feel free to use and modify it for learning purposes!!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published