feed gives the dog a treat!
When the game is running inside the Doggie And Me app, this tells any connected feeders to dispense a treat. In this playground, it will just tell you that it's feeding the dog.
feed()
The parentheses are important - they tell the computer to actually do the command. In programmer jargon, you are calling the feed
function.
You can also use do
instead of parentheses to call feed
:
do feed
This does the same thing. You can use whichever one makes more sense to you.