Wednesday, February 2, 2011

Kalytta's TIC TAC ALGORITHM



//variables

tictacs;

breath;

void setup {

check.breath ();

eat ();

}

void check.breath () {

put hand to face;

breath.out;

smell;

if (breath [less than] fine)

take out (tictacs);

else if (breath = fine)

take out (tictacs) //just in case

else if (breath = minty fresh)

stop; //do not OD on tictacs

}

void take out (tictacs) {

container (pop.top);

container (tip; angle until [less than] 3 fall out);

eat (tictacs);

}


--------------------------------------------------------------------------------

Documentation/Notes:

*photograph by Cristal Sung

My computerless algorithm had a problem right from the start. When Lilian read the "put hand to face" line, she put her hand not in front of her mouth (to check her breath) but to her cheek. Even though this line of code was under the "check breath" section, she did not think to put her hand in front of her mouth.
Other than that, it was smooth sailing. Without even needing to read part of the code, she had already popped the top of the Tic Tac container. Even though this is a simple action, it was tough to break down the little things that we do unconsciously without thinking.

Thanks goes out to Lilian for participating! :)

No comments:

Post a Comment