Christmas songs + coding?



  • I don't know whether it's funny or not... or even if it's been done before?  I do know that I was programming too long on Friday and my son was singing Christmas songs and the two just... blended... sorry...

    Using Seasons.Winter;
    Using Props.Christmas;

    // Main for application 'CarolConcert.exe'
    void main()
    {
        Song1();
        Audience.ShuffleUneasily();
        Song2();
        Audience.BlowHands();
        Song3();
        Audience.Dispose();
    }

    void Song1()
    {
        LittleLordJesus.Bed = !Crib
        Manger.Add(this.LittleLordJesus.Head,LaidDown);
        Sky[Bright].Stars.LookAt(Manger.Location);
        LittleLordJesus.Status = Asleep | OnHay;

        Cattle[Outside].Vocalise("Lowing");
        LittleLordJesus.Status = Awake | Poor;
        LittleLordJesus.Mute();

        this.LovedItems.Add(LittleLordJesus);
        LittleLordJesus.SetPos(this.Position.NextTo);
        SetTimer(Move(LittleLordJesus),Morning);

        LittleLordJesus.SetPos(this.Position.NextTo);  // TODO: Duplicate call?
        this.Call(LittleLordJesus.Stay(PERMANENT | MAX_LIKE));

        LittleLordJesus.Bless(LittleLordJesus.DearChildren);
        DearChildren.SetPos(heaven);
        this.SetPos(heaven);
        LittleLordJesus.SetPos(heaven);
    }

    void Song2()
    {
        Sleigh.AddHorses(1);
        Sleigh.SetDestination(OVER_FIELDS):
        Sleigh.Dash(THROUGH_SNOW);

        while(travelling) this.vocalise("laughing");

        BobTail.SetCallback(BELLS_RING,Spirits.SetBrightness(MAX));
        BobTail.Bells.Ring();

        Fun = (Laugh & Sing);
        this.Song = Fun;

        While(moving) Bells.Jingle();

        Fun = Ride + Sleigh; //  Added single horse earlier
    }

    void Song3()
    {
        Globals.Weather[Outside] = FRIGHTFUL;
        Fire.Aspect = DELIGHTFUL;
        if(this.Destination == null) LetItSnow(3);

        while(!Snow.Stopping)
        {
            Corn.Start(POPPING);
            Lights.SetBrightness(50); // Range = 0-255
            LetItSnow(3);
        }

        this.Kiss(this.GF,GOODNIGHT); // TODO: GF or Wife or mistress? missing in spec...
        this.Travel(STORM);
        this.Sad = true;
        this.GF.Hold(REALLYTIGHT);

        while(!home) this.SetTemp(WARM);

        Fire.Fade(3600,0); // over one hour...?

        LetItSnow(3);
    }


  •  I say funny ... although for extra points it would be great if they actually compiled and ran



  • I love the call to Audience.Dispose().  I wish I could just call that on the door to door carolers. Just take em out back and "Dispose" of them.  Perferably in a messy fashion.

    Oh and bah humbug...


Log in to reply