Virtual Pet: Initial Design Assignment

Pam Cutter and Kelly Schultz 2003, Alyce Brady 2017, 2021, Kalamazoo College, Kalamazoo, MI
Based on work done at Drexel University by JL Popyack & Paul Zoski

A popular toy a few years ago was the "Tomigotchi" - an electronic toy that simulated pet behavior (displayed on a screen) and allowed its "owner" to respond to various types of behavior by performing actions (generally "pushing buttons").

This is the first assignment (of 5) in a series to create a virtual pet.

You can create your own virtual pet in a web page, using HTML and JavaScript. For this design assignment, you will start by identifying 5 states your pet could be in and choosing two state indicators or types of behavior, such as sound, movement, or color, that will change based on your pet's state. You do not need to create the web page for this pre-lab exercise; that will be the activity in lab.

Simple Example:

Tralfaz, the Wonder Dog

Pet State:

Pet Sound:

Pet Movement:


Design to Complete Before Lab: