/*

Tic-Tac-Toe (temp out of order)




*/ $Category = "Things"; $words = "TUNAFISH CHOCOLATE CHIP COOKIE BANANA BEST FRIEND COMPUTER TELEPHONE HANGNAIL SPEAKER MICROPHONE PAPER PLATE NAPKINS WRENCH GOOD BOOK FISH BOWL DEAD HORSE COMPACT DISK ANNOYING FRIEND TV DINNER COKE BOTTLE PISTACHIOS BOW SPHYNX PAYCHECK NOTEBOOK WATER BOTTLE MOVING VAN ELEPHANT ENCYCLOPEDIA VW JETTA ANTIPERSPIRANT GLOVES AND HAT"; $alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $additional_letters = " -.,;!?%&0123456789"; $len_alpha = strlen($alpha); $word = $_GET[word]; $letters_used = $_GET[letters_used]; $links = ""; if(isset($_GET["letters"])) $letters=$_GET["letters"]; if(!isset($letters)) $letters=""; $self = $PHP_SELF; $max_wrong = 6; $words = strtoupper($words); $words_ind = explode("\n",$words); srand ((double)microtime()*1000000); $all_letters=$letters.$additional_letters; $wrong = 0; if ($word == '') { $word = rand(1,count($words_ind)) - 1; } $word_line=''; $word_guessing = trim($words_ind[$word]); $done = 1; for ($x=0; $x < strlen($word_guessing); $x++) { if (strstr($all_letters, $word_guessing[$x])) { if ($word_guessing[$x]==" ") $word_line.="  "; else $word_line.=$word_guessing[$x]; } else { $word_line.="_ "; $done = 0; } } if (!$done) { for ($c=0; $c<$len_alpha; $c++) { if (strstr($letters_used, $alpha[$c])) { if (strstr($words_ind[$n], $alpha[$c])) {$links .= "\n$alpha[$c] "; } else { $links .= "\n$alpha[$c] "; $wrong++; } } else { $links .= "\n$alpha[$c] "; } } $nwrong=$wrong; if ($nwrong>6) $nwrong=6; $hm_disp_block .= "\n


\n\"Wrong:\n"; if ($wrong >= $max) { $n++; if ($n>(count($words)-1)) $n=0; $hm_disp_block .= "

\n$word_line

\n"; $hm_disp_block .= "


SORRY, YOU ARE HANGED!!!

"; if (strstr($word, " ")) $term="phrase"; else $term="word"; $hm_disp_block .= "The $term was \"$word\"

\n"; $hm_disp_block .= "Play again.\n\n"; } else { $hm_disp_block .= "   # Wrong Guesses Left: ".($max-$wrong)."
\n"; $hm_disp_block .= "

\n$word_line

\n"; $hm_disp_block .= "


Choose a letter:

\n"; $hm_disp_block .= "$links\n"; } } if (($dir == "rbemail") || ($dir == "remail")) { $email_greeting = "Thank you for reading my email and welcome to my site Rebekah Brown!"; } if ($dir == "ademail") { $email_greeting = "Thank you for reading my email and welcome to my site Anita De!"; } if ($dir == "tdsemail") { $email_greeting = "Thank you for reading my email and welcome to my site Tiffany Spink!"; } if ($dir == "djremail") { $email_greeting = "Thank you for reading my email and welcome to my site Daniel Richardson!"; } ?>

Jonathan Charpie
Back to the Beginning. . .
Who I am
Interesting Links. . .
Be patient, the quotes cycle through themselves.
Pictures!!!
Email Me from here!!!
View my recent free webpage scripts!!!
Compare over 100 of the top hosting plans on the internet.

Well, as you may well know, my name is Jonathan Charpie.  I am living in Crystal, Minnesota, a suburb of Minneapolis.  I am finishing my degree in linguistics this semester!!

I have lived in five states (Colorado, Connecticut, Ohio, Arizona, and now Minnesota).  My goal in life is to be do whatever God has for me.

I am currently occupying my time with four major things: school, work, church, and friends. (Not in any particular order).

I think that the most important thing is life is your relationship to God.  The foundation of this relationship must be faith.  The only faith that really matters in this case is faith that Jesus, the Son of God, died on the cross, to pay for the penalty for your sins. (We know from Romans that the due payment for your sin is death, which Christ did, so you don't have to die spiritually).  The exciting thing is that after Jesus died (once for everyone), he rose from the dead, was seen by over 500 people, and then went back to heaven.  All you have to do is believe, put your faith in Him, and your sin is paid for in God's sight, which means that you get great perks to life all the sudden: Grace (to give you what you don't deserve,) Mercy (you don't get some of the bad stuff you do deserve), Love (true and pure, as only the Perfect Father could give), as well as life in heaven, among a myriad of other great things.

Do you doubt this? Do you have questions? Curious? Want to know more? For any reason, I would love to hear from you.  This is the only way to heaven for you.  You know you are a sinner (you have done things that are wrong: lying, stealing, cheating, disobeying parents), from here you must believe that Jesus came to earth to die for you, believing also that he conquered death as he rose from the dead.  Acts tells us that to be saved (from hell) we must simply believe on the Lord Jesus Christ.  So in all this you must accept the gift of Christ taking you place in the sight of God the Father, simply tell God that you realize your a sinner, you are on your way to hell because of your sin.  Tell God that you want to accept the free gift of Jesus' death covering your sin, and as such you want Jesus to take over your life and change your sinful ways to God's perfect ways.  If you truly believe these things about Jesus, that is all there is to it.  You can not do anything to get to heaven on your own and nothing you do will be worth anything in the sight of God, because He says all our righteousnesses are as filthy rags.  We are told that it is not by works of righteousness we have done but it is according to His mercy he saved us, through the blood of Christ.

©Jonathan Charpie 2005