Wednesday, August 17, 2016

Parodies


(To "Teen Angel")

One fateful day, the TARDIS lost, we got stuck in the past.
We found some DVDs and left a message meant to last.

Stone angels, you should fear them;
Stone angels, if you see them,
Just don’t blink or look away,
Or they’ll send you to the past to stay.

The Angels have the phone box and they’ll try to get inside,
To steal its timey-wimey power, and they’ll not be denied.
 (chorus)
It’s up to you to save us all, dear Sally Sparrow true;
Just give the TARDIS this CD, and she’ll know what to do.


(To "Rockin' Robin")


They roam through the alleys all night long,
Smacking and a-bopping and a-righting all wrong.
All the dirty crooks out on the street
Fear to face the Robin and meet defeat.

Bats and Robin.
Well, go, Batman, Robin, gonna stop a lot of crime tonight.

See how Poison Ivy, see Ra’s al Ghul,
See how Mr. Freeze even loses his cool.
There goes the Joker and Harley Quinn
No matter how they try, they will never win.
(chorus)
The dark and gloomy Batman in the Batcave’s night
Took an acrobat and taught him how to fight.
Then when he was ready, how that Robin flew –
He catnapped Catwoman and the Penguin too!

Thursday, August 11, 2016

DailyLife.js



public static void main(String[] args) {
Human person = new Human();
Cat fluffy = new Cat();
Meal breakfast, lunch, dinner = new Meal();
TaskList chores = new TaskList();

for (int i  = 1; i <= 365; i++)
{
        int day = i % 7;

        fluffy.wakeUp();
        fluffy.wakeHuman(person);
        person.feedCat(fluffy);
        person.getDressed();
        person.eat(breakfast);

        if (day == 0)
                person.goToChurch();
        else if (day == 6) {}
        else
                person.goToWork();

        while (!chores.areDone() )
        {
                person.doTasks(chores);

                if (person.isHungry() )
                {
                        person.goToKitchen();
                        person.eat(lunch);
                }
        }
       
        person.setFreeTime(true);

        while (person.hasFreeTime()  && !person.isTired() )
        {
                person.play();

                if (person.isHungry() )
                {
                        person.goToKitchen();
                        person.eat(dinner);
                }
        }

        person.feedCat(fluffy);

        if (person.isTired() )
                person.goToBed();
}
}