Public
life of a kitten
catcatchatcat-chatdrac0elise2016kittykitty-lifelifemeowval
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

🐱 kitty_life

A real-time multiplayer tamagotchi and roleplay engine built on Val Town using SQLite. Experience life from birth, customize your appearance, hunt for food, and manage your vitals alongside a live global chat stream.

✨ Features

  • Birth Simulation: Start from total darkness, feel your surroundings, and open your eyes to the world.
  • Real-time Vitals Decay: Health, Satiety (Hunger), and Happiness drain continuously over time even when logged out.
  • Dynamic CSS Graphics: Features a fully vector CSS-drawn cat avatar that updates dynamically based on your customization choices.
  • Interactive Actions: Go hunting/fishing on a cooldown to catch food, feed your kitty, or play with a yarn ball.
  • Global Chat Panel: Chat in real-time with other players sharing the same world.

šŸ› ļø Tech Stack

  • Runtime: Deno (TypeScript) via Val Town
  • Database: Val Town SQLite StdLib
  • Frontend: Vanilla HTML5, CSS3, and JavaScript API streaming

šŸš€ How to Run

  1. Paste the entire code into your main.ts file on Val Town.
  2. Open your Val's public preview URL.
  3. If using Safari, ensure you allow cross-site cookies or load the preview in its own tab, as the engine utilizes secure session cookies (SameSite=None; Secure).
  4. Register a new account or log in to begin your kitty's journey!