[CS-FSLUG] Interesting Challenge for Christian Hackers

Don Parris gnumathetes at gmail.com
Sun May 29 20:46:06 CDT 2005


On 5/28/05, Brian Derr <bderr at myrealbox.com> wrote:
> On Thu, 2005-05-19 at 00:43 -0400, Don Parris wrote:
> > I've got a challenge for y'all.  I'm not much of a hacker, but I know others
> > are very good.  Find a way to explain the gospel by way of writing a
> > "program".  I'm thinking something along the lines of...
> >       function create_world()
> >       d = 6 (i=0, i<=6)
> >       for each d =1
> 
> I'm not much of a hacker either, especially C which is what this is
> in...
> (Don't try to compile this as it won't work! :-P There are way to many
> variables that haven't been declared and functions that aren't defined,
> etc...)
> 
> #include <stdio.h>
> #define JESUS "The Word"
> int main() {
>    createWorld(man); /* Perfection! */
>    /* Due to unfortunate circumstances man broke my only rule and
>     * sinned against me. Punishment must ensue... */
>    curseMan(mLabor); /* working the earth type of labor */
>    curseWoman(cLabor); /* childbirth labor */
>    int cursed=1;
>    while(cursed) {
>       sendJesus(Mary); /* Send my son to the sinful world */
>       destroySin(Jesus); /* My son will die to pay the penalty of sin */
>       cursed=0; /* break the loop! REJOICE! */
>    }
>    if(man(hasJesus())) {
>          proclaimJesus(men); /* Send out my people to all the world to
> tell the
>                           world about my Son and what He did for them */
>    }
>    wait(...); /* Lets wait a little while and let the people do My will.
>                  Jesus will come back to earth at some point, but He
> doesn't
>                  even know when. */
>    triumphalReturn(Jesus); /* He comes back to get His followers! */
>    destroyWorld(water,fire,blood);
>    if(man(hasJesus())) {
>       bookOfLife++;
>       printf("Well done, thou good and faithful servant..."); /* HOORAY!
> */
>       enterHeaven(man); /* Let's party forever! */
>    } else {
>       printf("I do not know you."); /* I hate this part... :'( */
>       enterHell(man); /* Eternal damnation and solitude */
>    }
> 
>    return(0); /* My plan is complete */
> }
> 
> How's that?  A little too big for a .sig methinks but I think it pretty
> much covers the whole enchilada.  Anyone spot any mistakes?  I went
> through it a couple of times and didn't see any syntax errors, but that
> is why we have Open Source!
> --
> Brian Derr
> 
> The just man walketh in his integrity: his children are blessed after
> him.  -- Proverbs 20:7
> 
> 
> _______________________________________________

I wouldn't know enough to spot errors, but it looks like a good effort to me. :)

Don
-- 
DC Parris GNU Evangelist
http://matheteuo.org/
gnumathetes at gmail.com
Free software is like God's love - 
you can share it with anyone anywhere anytime!




More information about the Christiansource mailing list