Here’s a flash version of a java program I wrote. Similar to tamaguchi or nintendogs. Teach the dog to do tricks by rewarding him when he is obedient. Click on the commands: sit, lay, speak, shake and roll over. When he is smart and obedient reward him by clicking on the treat and say good boy! The little bars under the commands show his understanding and learned behavior for that command.