[ WP ] Write a story in JavaScript , C # , or another computer language .

TL; DR: Greg is born, gets sick, dies of a drug overdose, and is doomed to sail the seas as a zombie pirate... OR... Greg is born, gets rich, marries a beautiful wife, and becomes a ninja. 
 
 int Luck = 10; 
 Random chance = new Random ( ); 
 
 Human Greg = new Human ( Luck, chance ); 
 Greg.born ( ); 
 Greg.gainYears ( 18 ); 
 Greg.makeFriends ( ); 
 Greg.finishHighSchool ( ); 
 
 int ChanceOfDeath = Greg.Chance.nextInt ( 2 ); //random btwn 0,1 
 Greg.killParents ( ChanceOfDeath ); 
 Greg.Luck = Greg.Luck - ChanceOfDeath; 
 
 if ( Greg.Luck == 9 ) { 
 Greg.getSick ( ); 
 } else { 
 Greg.getRich ( ); 
 } 
 
 int ChanceOfDepression = Greg.Chance.nextInt ( 2 ); //random btwn 0,1 
 Greg.getSad ( ChanceOfDepression ); 
 Greg.Luck = Greg.Luck - ChanceOfDepression; 
 
 if ( Greg.Luck == 8 ) { 
 Greg.loseFriends ( ); 
 } else if ( Greg.Luck == 9 ) { 
 Greg.loseMoney ( ); 
 } else { 
 Greg.marryBeautifulWife ( `` Susan'' ); 
 } 
 
 int ChanceOfHope = Greg.Chance.nextInt ( 2 ); //random btwn 0,1 
 Greg.findHope ( ChanceOfHope ); 
 Greg.Luck = Greg.Luck - ChanceOfHope; 
 
 if ( Greg.Luck == 7 ) { 
 Greg.doDrugs ( ); 
 } else if ( Greg.Luck == 8 ) { 
 Greg.becomeHomeless ( ); 
 } else if ( Greg.Luck == 9 ) { 
 Greg.findPartTimeJob ( ); 
 } else { 
 Greg.haveKids ( 3 ); 
 } 
 
 int ChanceOfPity = Greg.Chance.nextInt ( 2 ); //random btwn 0,1 
 Greg.getHelp ( ChanceOfPity ); 
 Greg.Luck = Greg.Luck - ChanceOfPity; 
 
 if ( Greg.Luck == 6 ) { 
 Greg.overdoseAndDie ( ); // Greg is dead. 
 } else if ( Greg.Luck == 7 ) { 
 Greg.getArrested ( ); 
 } else if ( Greg.Luck == 8 ) { 
 Greg.breakLeftLeg ( ); 
 } else if ( Greg.Luck == 9 ) { 
 Greg.getPromoted ( ); 
 } else { 
 Greg.buyMansionAndSportsCar ( ); 
 } 
 
 int ChanceOfMiracle = Greg.Chance.nextInt ( 2 ); //random btwn 0,1 
 Greg.getSaved ( ChanceOfMiracle ); 
 Greg.Luck = Greg.Luck - ChanceOfMiracle; 
 
 if ( Greg.Luck == 5 ) { 
 Greg.corpseIsPissedOnByDrunkMan ( ); // Greg is super dead.: ( 
 } else if ( Greg.Luck == 6 ) { 
 Greg.getRevivedWithCPR ( ); // Greg is alive again! 
 } else if ( Greg.Luck == 7 ) { 
 Greg.loseJobAndInsurance ( ); 
 } else if ( Greg.Luck == 8 ) { 
 Greg.Luck = 0; 
 Greg.getMurdered ( ); // Tough luck. Greg is dead. 
 } else { 
 Greg.becomeHollywoodStar ( ); 
 } 
 
 int ChanceOfZombies = Greg.Chance.nextInt ( 2 ); //random btwn 0,1 
 Greg.getZombified ( ChanceOfZombies ); 
 Greg.Luck = Greg.Luck - ChanceOfZombies; 
 
 if ( Greg.Luck == 4 ) { 
 Greg.Luck = 0; 
 Greg.corpseIsEatenAndBecomesZombieShit ( ); 
 } else if ( Greg.Luck == 5 ) { 
 Greg.getElectedZombieLeader ( ); 
 } else if ( Greg.Luck == 6 ) { 
 Greg.Luck = 0; 
 Greg.loseMindAndCommitSuicide ( ); // Greg is dead. 
 } else if ( Greg.Luck == 7 ) { 
 Greg.escapeAndHide ( ); 
 } else if ( Greg.Luck == 8 ) { 
 Greg.Luck = 0; 
 Greg.tryToRunAndDie ( ); // Greg is dead. 
 } else if ( Greg.Luck == 9 ) { 
 Greg.Luck = 0; 
 Greg.getSetOnFireByHillbilliesWhoThinkGodWillSaveThem ( ); // Greg is dead. 
 } else { 
 Greg.rejoiceAboutNoZombies ( ); 
 } 
 
 int ChanceOfPirates = Greg.Chance.nextInt ( 2 ); //random btwn 0,1 
 Greg.getKidnapped ( ChanceOfPirates ); 
 Greg.Luck = Greg.Luck - ChanceOfPirates; 
 
 if ( Greg.Luck < 10 ) { 
 Greg.Luck = 0; 
 Greg.dieAndSailWithDavyJonesForEternity ( ); 
 } else { 
 Greg.becomeNinjaAndDefeatPirates ( ); 
 } 
 
 // End.
