This project is a Digital Pet Simulator featuring Luna, a virtual pet implemented in Python using Object-Oriented Programming principles.
- A
Pet
class representing Luna with attributes such as hunger, energy, happiness, health, age, and learned tricks. - Methods to interact with Luna including eating, sleeping, playing, training, bathing, exercising, and celebrating birthdays.
- Friendly and engaging output messages enhanced with iPhone-style emojis.
- Clear visual status indicators for Luna's current state.
- Professional code improvements including type hints and comprehensive docstrings for maintainability and clarity.
Run main.py
to start the simulation and interact with Luna through a series of actions that affect her state and behavior.
Enjoy taking care of Luna and watching her grow!