January 3, 201412 yr 1. Wtf, Master Chief was banned?! http://gyazo.com/a1bcabc593855e9c012b9670208053bb 2. I made BlackJack in Js when I got bored, you like it :3? <script type="text/javascript"> var playing = true; var yourRoll = Math.floor(Math.random() * 11); var pcRoll = Math.floor(Math.random() * 11); var yourTotal = 0; var pcTotal = 0; stay = false; while (playing) { if (yourTotal > 21) { console.log("You lost, sorry!"); yourTotal = 0; pcTotal = 0; stay = false; var playAgain1 = prompt ("Do you want to play again?").toLowerCase(); switch(playAgain1) { case 'yes' : { playing = true; } break; case 'no' : { playing = false; } break; } } if (yourTotal === 21){ console.log("Black Jack!"); yourTotal = 0; pcTotal = 0; stay = false; var playAgain1 = prompt ("Do you want to play again?").toLowerCase(); switch(playAgain1) { case 'yes' : { playing = true; } break; case 'no' : { playing = false; } break; } if (pcTotal === 21) { console.log("The pc got a Black Jack, dang!"); yourTotal = 0; pcTotal = 0; stay = false; var playAgain1 = prompt ("Do you want to play again?").toLowerCase(); switch(playAgain1) { case 'yes' : { playing = true; } break; case 'no' : { playing = false; } break; } } if (stay) { pcTotal = pcTotal + pcRoll; } if (yourTotal < 21 && pcTotal < 21 && hitOrNot === 'hit'){ var hitOrNot = prompt("Would you like to hit or stay?").toLowerCase; switch (hirOrNot){ case 'hit' : { yourTotal = yourRoll + yourTotal; } break; case 'stay' : { stay = true; } } } else { console.log("Error, please restart the Game, report this to the owner if it continues at: Anewlifehasbegun@yahoo.com"); playing = false; } } } <script>
January 3, 201412 yr 1. Wtf, Master Chief was banned?! http://gyazo.com/a1bcabc593855e9c012b9670208053bb 2. I made BlackJack in Js when I got bored, you like it :3? <script type="text/javascript"> var playing = true; var yourRoll = Math.floor(Math.random() * 11); var pcRoll = Math.floor(Math.random() * 11); var yourTotal = 0; var pcTotal = 0; stay = false; while (playing) { if (yourTotal > 21) { console.log("You lost, sorry!"); yourTotal = 0; pcTotal = 0; stay = false; var playAgain1 = prompt ("Do you want to play again?").toLowerCase(); switch(playAgain1) { case 'yes' : { playing = true; } break; case 'no' : { playing = false; } break; } } if (yourTotal === 21){ console.log("Black Jack!"); yourTotal = 0; pcTotal = 0; stay = false; var playAgain1 = prompt ("Do you want to play again?").toLowerCase(); switch(playAgain1) { case 'yes' : { playing = true; } break; case 'no' : { playing = false; } break; } if (pcTotal === 21) { console.log("The pc got a Black Jack, dang!"); yourTotal = 0; pcTotal = 0; stay = false; var playAgain1 = prompt ("Do you want to play again?").toLowerCase(); switch(playAgain1) { case 'yes' : { playing = true; } break; case 'no' : { playing = false; } break; } } if (stay) { pcTotal = pcTotal + pcRoll; } if (yourTotal < 21 && pcTotal < 21 && hitOrNot === 'hit'){ var hitOrNot = prompt("Would you like to hit or stay?").toLowerCase; switch (hirOrNot){ case 'hit' : { yourTotal = yourRoll + yourTotal; } break; case 'stay' : { stay = true; } } } else { console.log("Error, please restart the Game, report this to the owner if it continues at: Anewlifehasbegun@yahoo.com"); playing = false; } } } <script> 1. Yes he did. 2. Good job. Try poker now
January 3, 201412 yr 1. http://osbot.org/forum/topic/31083-master-chief-banned-never-to-be-unbanned/#entry346726
January 3, 201412 yr 1: http://osbot.org/forum/topic/31083-master-chief-banned-never-to-be-unbanned/ 2: I have no idea.
January 3, 201412 yr Cool script xD Java coding much better though. Much more you know to ''fap'' with.