Welcome to my Virtual Pet Simulator! (Pet Care Sim). This console application allows you to simulate caring for a virtual pet by performing various actions such as feeding, playing, and resting.
This project is a simple console application written in C# that demonstrates basic programming concepts, including user input, control flow, and data manipulation. The virtual pet has attributes such as hunger, happiness, and health, and the user can interact with the pet to affect these attributes.
-
Clone the Repository:
git clone https://github.com/EdisCode/PROG8051-Assign1.git
-
Navigate to the Project Directory:
cd PROG8051-Assign1 -
Run the Application:
dotnet run
-
Follow On-screen Instructions:
- Choose a pet type (e.g., dog, rabbit).
- Give your pet a name.
- Interact with the virtual pet by selecting actions from the menu.
- Check the pet's status and have fun caring for your virtual companion!
The pet type is selected using a number:
- 1: Dog
- 2: Rabbit
- 3: Cat
- 4: Pig
If an invalid number is entered, the default pet type will be a dog.
Follow this Link to watch the implementation video.
Enjoy playing with your virtual pet! 🎊 And remember to take good care of your pet. 😉