An object (120, 220, 320) for use in a physical environment and connectable to a virtual world corresponding to the physical environment, the object (120, 220, 320) comprising: a plurality of sensors including a position sensor and a light sensor; a memory storing a history of events and an initial state of the object (120, 220, 320); and a processor configured to: establish a first wireless connection between the object (120, 220, 320) and a computer hosting the virtual world, wherein the virtual world contains a virtual object (170, 270) corresponding to the object (120, 220, 320) and the physical environment; detect an amount of light in the physical environment using the light sensor to update a health parameter of the physical object (120, 220, 320) based on how much time the physical object (120, 220, 320) is given to sleep; generate a response in the physical environment, in response to detecting the amount of light by the light sensor, wherein the response adds a new event to the history of events and updates the initial state; and determine a position of the object (120, 220, 320) in the physical environment using the position sensor; and send the response, the position of the object (120, 220, 320) and the amount of light in the physical environment to the computer hosting the virtual world using the first wireless connection. a plurality of sensors including a position sensor and a light sensor; a memory storing a history of events and an initial state of the object (120, 220, 320); and a processor configured to: establish a first wireless connection between the object (120, 220, 320) and a computer hosting the virtual world, wherein the virtual world contains a virtual object (170, 270) corresponding to the object (120, 220, 320) and the physical environment; detect an amount of light in the physical environment using the light sensor to update a health parameter of the physical object (120, 220, 320) based on how much time the physical object (120, 220, 320) is given to sleep; generate a response in the physical environment, in response to detecting the amount of light by the light sensor, wherein the response adds a new event to the history of events and updates the initial state; and determine a position of the object (120, 220, 320) in the physical environment using the position sensor; and send the response, the position of the object (120, 220, 320) and the amount of light in the physical environment to the computer hosting the virtual world using the first wireless connection. establish a first wireless connection between the object (120, 220, 320) and a computer hosting the virtual world, wherein the virtual world contains a virtual object (170, 270) corresponding to the object (120, 220, 320) and the physical environment; detect an amount of light in the physical environment using the light sensor to update a health parameter of the physical object (120, 220, 320) based on how much time the physical object (120, 220, 320) is given to sleep; generate a response in the physical environment, in response to detecting the amount of light by the light sensor, wherein the response adds a new event to the history of events and updates the initial state; and determine a position of the object (120, 220, 320) in the physical environment using the position sensor; and send the response, the position of the object (120, 220, 320) and the amount of light in the physical environment to the computer hosting the virtual world using the first wireless connection.