______, ,|\/|.
| Y | (` O O\ .--------.
|_____|__\ =<_>=/ <' Pizdos! |
." \\ ) '--------'
/ , \/\_
_____| )_-\ \_-`
`-----'`-----` `--`
Pizdos is not just an ordinary cat, he is a hard worker who is always up for a challenge. Despite his health challenges, Pizdos remains determined and perseveres through all obstacles. Through this project, you'll get to know Pizdos and follow his journey as he tackles various tasks, from going to work to getting old. Along the way, you'll learn about the importance of resilience and hard work, and how these traits can help us overcome even the toughest challenges in life.
Whether you're a cat lover or just looking for some inspiration to overcome your own challenges, Pizdos is the perfect role model. So come along and join us on this exciting journey with Pizdos, and see how this little cat teaches us all a valuable lesson about the power of determination and perseverance!
Once the program is running, you will see a menu with several options:
Feed the cat
Give the cat medicine
Let the cat rest
Send the cat to work
Quit
Use the number keys to select an option and press enter to execute it. The program will display the cat's current state and provide feedback on the action you have taken.
The cat's current state is represented by various ASCII art images, which change depending on the cat's health, weight, and age.
The project is written in Kotlin and uses the Java standard library for input and output. The program uses a fixed-rate timer to update the display every second.
The Cat class represents the virtual cat and contains various properties that determine the cat's state. The getInput function processes user input and updates the cat's state accordingly. The displayMenu function updates the display and shows the user the cat's current state.
The program also contains several ASCII art images that represent the cat's current state. These images are stored as string literals and are displayed on the console using the println function.