A virtual pet — cat simulator written in Python. Take care of your cat, play with it, buy treats, and monitor its health!
The game has a website: felinefantasy.github.io/Digital_Cat
There you can:
- Download the game
- Visit the GitHub repository
- Check the version and author
- Feel the Windows Vista vibe
Hosted on GitHub Pages, retro-minimalist style.
Digital Cat is a console game where you adopt a virtual cat and take care of it. The cat has several stats:
- Satiety — the cat needs food
- Happiness — the cat wants to play
- Energy — the cat gets tired
- Health — the cat can get sick
- Coins — used to buy items
- Love — the cat grows attached to you
Random events happen every day — the cat may find coins, use the litter box, or just meow.
Conditions:
- 🏆 Victory: survive 100 days!
- 💀 Defeat: if any stat reaches 0
Autosave: the game saves after every action to save.dat.
Logging: the game writes logs to log.txt with levels INFO, DEBUG, WARNING, ERROR. If a player reports a bug, ask them to send this file.
- Download
Digital_Cat.py - Run:
python Digital_Cat.py - Name your cat
- Choose actions from the menu
Main menu (options 0-11):
- Feed, pet, play
- Clean litter box, put to sleep
- Shop, outside, work
- Vet, stats, settings
- Change cat's name
- Reset game (delete save)
- Change screen clear delay
- About
Digital_Cat/
├── Digital_Cat.py # Game
├── index.html # Website
├── style.css # Website styles
├── README.md # Documentation
├── save.dat # Save file (auto-generated)
└── log.txt # Game log (auto-generated)
Timur (FelineFantasy)
License: MIT
- Added logging system (INFO/DEBUG/WARNING/ERROR)
- Added settings menu
- Added
@logdecorator for automatic function logging - Added before/after state logging for all actions
- Added screen clear delay setting
- Updated website for v3.0.0
- Extracted constants:
VERSION,AUTHOR,LICENSE