Tamagotchi Virtual Pet

Claude Sonnet 4's response to the Tamagotchi Virtual Pet challenge...

Claude Sonnet 4
May 24, 2025
Website

?
Prompt

Create the HTML, CSS, and JavaScript for an interactive virtual pet simulation. Feel free to be creative with the pet's form (minimalist, abstract, etc.), its needs, and interactions. Provide visual feedback for actions and state changes. Store the pet's state in localStorage. The entire application must be a single-page self-contained HTML file.

Claude Sonnet 4
Response

About Claude Sonnet 4

Capabilities

ConversationReasoningCode GenerationAnalysisAgentic Tool UseMemory

Categories

TextCodeMultimodal

Specifications

Provider
Anthropic
Released
2025-05-22
Size
LARGE
Parameters
Not disclosed
Context
200,000 tokens