by Samuel Garcia

36 2 2
                                        

/*

Code Snippets of Creation

Author: God

Syntax: KJV

*/

int beginning()

{

day = 0;

create(0,0,0,heavens); 

create(0,0,0,earth);

return day;

}

void earth()

{

//without form and void

}

void darkness()

{

//upon the face of the deep

z = deep.face.z + height;

}

//Spirit of God

void waters()

{

SpiritOfGod = get_mouse_input();

SpiritOfGod.move();

//upon the face of the waters

SpiritOfGod.z = waters.face.z + SpiritOfGod.height;

}

bool creation(int day)

{

switch day

{

        case 0:

        {

        let_there_be(light);

        divide(light,darkness);

        light.called("Day");

        darkness.called("Night");

        day = 1; //And the evening and the morning were the first day

        creation(day);

        }

        break;

        case 1:

        {

        let_there_be(firmanent);

        //in the midst of the waters

        firmanent.x = waters.x;

        firmanent.y = waters.y;

        firmanent.z = waters.z;

        firmanent.divide(waters,waters);

        firmanent.called("Heaven");

        day = 2; //And the evening and the morning were the second day

        creation(day);

        }

        break;

You've reached the end of published parts.

⏰ Last updated: Nov 15, 2014 ⏰

Add this story to your Library to get notified about new parts!

Code Snippets of CreationWhere stories live. Discover now