[CS-FSLUG] Interesting Challenge for Christian Hackers
Brian Derr
bderr at myrealbox.com
Sat May 28 13:23:44 CDT 2005
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
More information about the Christiansource
mailing list