8000 GitHub - xyzoptooo/my_pet
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

xyzoptooo/my_pet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Digital Pet Simulator - Luna

This project is a Digital Pet Simulator featuring Luna, a virtual pet implemented in Python using Object-Oriented Programming principles.

Key Features

  • 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.

Usage

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!


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0