Slider

Setting the Mood


mood = function( successes, failures, interactions, day)
     if successes > failures )
            mood = rainbows & unicorns;
     else
            mood = dungeons & dragons;

     for each +interaction
            mood = mood + joy;

     for each -interaction
           mood = mood - joy;

     switchday )
           case Monday:
                 mood = mood - all_good_things;
                 break;

           case Tuesday:
                 mood = mood - meetings;
                 break;

           case Wednesday:
                 mood = no_change;
                 break;

           case Thursday:
                 mood = mood + light_at_the_end_of_the_tunnel;
                 break;

           case Friday:
                 mood = mood + dreams_come_true;
                 break;

           case Weekend:
                 mood = party_like_a_rock_star;

end
1
( Hide )

About

both,psalms-to-god

DON'T MISS

Book Review,Food,Testimony
© 2022 all rights reserved
made with by templateszoo