Skip to content

FelineFantasy/Digital_Cat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital Cat Game 🐱 v3.0.0

Python Version License Website

A virtual pet — cat simulator written in Python. Take care of your cat, play with it, buy treats, and monitor its health!

🌐 Website

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.

📝 Description

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.

⚙️ Installation & Launch

  1. Download Digital_Cat.py
  2. Run: python Digital_Cat.py
  3. Name your cat
  4. Choose actions from the menu

🎮 Controls

Main menu (options 0-11):

  • Feed, pet, play
  • Clean litter box, put to sleep
  • Shop, outside, work
  • Vet, stats, settings

🛠️ Settings

  • Change cat's name
  • Reset game (delete save)
  • Change screen clear delay
  • About

📁 Project Files

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)

👤 Author

Timur (FelineFantasy)

License: MIT


📦 Changelog

v3.0.0 (18.05.2026)

  • Added logging system (INFO/DEBUG/WARNING/ERROR)
  • Added settings menu
  • Added @log decorator 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

About

Digital Cat is a text-based tamagotchi-style game in Python. Feed, play, and heal your virtual cat to survive 100 days.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors