A browser mini-game where the cursor behaves like a threat and a cat NPC reacts in real time.
- Finite state machine:
IDLE,SUSPICIOUS,AFRAID,PANIC,HIDDEN - Dynamic
fear,memory, andcomfortmodel - Reaction to cursor proximity and sudden approach speed
- Cat emotional animation that changes per behavior state
- Room scene with furniture as real cover objects
- Runs directly in browser (no build step)
- Move the mouse to interact
- Slow movement calms the cat
- Fast movement increases fear and panic
- Open
index.htmldirectly in a browser - Or run a local server:
python -m http.server 8080Then open http://localhost:8080.
index.html- canvas bootstrap and page shellmain.js- game loop, AI/FSM, rendering, interactionsREADME.md- project overview and usageLICENSE- MIT license.gitignore- common local/system ignores
Add screenshots or GIF previews to the assets/ folder and reference them in this README.
- Scene switch (room / street)
- Sound effects and ambient audio
- Mobile touch input support
- Fine-tuned behavior presets for different NPC personalities