// You now have a pet!

function speak(event) {
    // Your pet should respond with pet.say()


    pet.say("Hello");
}
// This tells your pet to run the speak() function when she hears something
pet.on("hear", speak);

// Talk to your pet!
hero.say("Hello Kitty");

 

Projektuję strony www Lublin na Joomla i WordPress

Codecombat - backwoods buddy - Kumple z Matecznika - JavaScript