Click Here To Upload Your Music On Unlimitedapps
Always Post unlimitedapps.xtgem.com on your facebook, twitter and 2go status! If you love UNLIMITEDAPPS(¤) and enjoy unlimited services here!
»UNLIMITEDAPPS Forum
Forum Rules
|
Smilies
|
BB Codes
|
Back
Click
Like Page
below and then
x
to continue.
x
Login
·
Signup
Home
»
Coding Help
»
XtGem Coding Help
»
Becoded-Needs Help
» Lihat Kicauan dari
Unlimitedapps
Beecoded
Copy the code of the first link below
<div data-xtcontainer="container" class="xt_container" style="text-align: center;"><div class="zxfourborder" align="center"><script language="JavaScript"> Enjoy This Game, It's Very Interesting<br/> <!-- Begin var gameOver; var cardCount; function Shuffle(max){ var num=Math.random()*max; return Math.round(num)+1; } function getSuit(){ suit = Shuffle(4); if(suit == 1) return "Spades"; if(suit == 2) return "Clubs"; if(suit == 3) return "Diamonds"; else return "Hearts"; } function cardName(card){ if(card == 1) return "Ace"; if(card == 11) return "Jack"; if(card == 12) return "Queen"; if(card == 13) return "King"; return "" + card; } function cardValue(card,strWho){ if(card == 1) { if(strWho =="You" && document.display.you.value >10){ document.display.say2.value=document.display.say2.value+" Low"; return 1;} else return 11; } if(card > 10) return 10; return card; } function PickACard(strWho){ card = Shuffle(12); suit = getSuit(); if(strWho =="You") document.display.say2.value=(cardName(card) + " of " + suit); else document.display.say1.value=(cardName(card) + " of " + suit); return cardValue(card,strWho); } function NewHand(form){ if(gameOver !=0) {form.say1.value=("Hand in Play!"); form.say2.value=(""); return;} else {form.dealer.value = 0; form.you.value = 0; cardCount=0; form.dealer.value = eval(form.dealer.value) + PickACard("Dealer"); form.you.value = eval(form.you.value) + PickACard("You"); gameOver= -1; cardCount+=1;} } function Dealer(form){ if (gameOver ==0) {form.say1.value=("Deal the Cards!"); form.say2.value=(""); return;} else if(form.you.value<10) {form.say1.value=("Not Below Ten!"); form.say2.value=("Take a Hit!"); return;} else if (cardCount <2) {form.say1.value=("Minimum 2 Cards!"); form.say2.value=("Hit Again!"); return;} else while(form.dealer.value < 17) {form.dealer.value = eval(form.dealer.value) + PickACard("Dealer");} } function User(form){ if (gameOver ==0) {form.say1.value=("Deal the Cards!"); form.say2.value=(""); return;} else {cardCount+=1; form.say1.value=("You Get..."); form.you.value = eval(form.you.value) + PickACard("You");} if(form.you.value > 21) {form.say1.value=("You Busted!"); gameOver=0; form.numgames.value=eval(form.numgames.value)-1;} } function LookAtHands(form){ if (gameOver ==0 || form.you.value<10 || cardCount <2){return;} else if(form.dealer.value > 21) {form.say1.value=("House Busts!"); form.say2.value=("You Win! :D :D"); gameOver=0; form.numgames.value=eval(form.numgames.value)+1;} else if(form.you.value > form.dealer.value) {form.say1.value=("You Win!"); form.say2.value=(":D :D :D"); gameOver=0; form.numgames.value=eval(form.numgames.value)+1;} else if(form.dealer.value == form.you.value) {form.say1.value=("Game Tied!"); form.say2.value=("Try Again!"); gameOver=0; form.numgames.value=eval(form.numgames.value)-1;} else {form.say1.value=("House Wins!"); form.say2.value=("Tough Luck!"); gameOver=0; form.numgames.value=eval(form.numgames.value)-1;} } function setBj(){ gameOver=0; cardCount=0; document.display.dealer.value=""; document.display.you.value=""; document.display.numgames.value="0"; document.display.say1.value=" Hit 'Deal'"; document.display.say2.value=" To Start!"; } // End --> </script> <form name="display"><input type="hidden" name="PHPSESSID" value="6e5b130de182c3b86c52f654e7720e80" /> <table bgcolor="#e3e3e3" border="1" cellspacing="0" cellpadding="3"> <tr> <td><center>Score:</center></td> <td><center>Dealer</center></td> <td><center><input type="text" name="dealer" size="2"/></center></td> <td><center>Card(s): <input type="text" name="say1" size="18" value=""/></center></td> </tr> <tr> <td><center><input type="text" name="numgames" size="3" value="0"/></center></td> <td><center>Player</center></td> <td><center><input type="text" name="you" size="2"/></center></td> <td><center>Card(s): <input type="text" name="say2" size="18" value=""/></center></td> </tr> <tr> <td><center><input type="button" value="Deal" onClick="NewHand(this.form)"/></center></td> <td colspan='3'><center> <input type="button" value="Stand" onClick="Dealer(this.form);LookAtHands(this.form);"/> <input type="button" value=" Hit " onClick="User(this.form)"/></center></td></tr> </table> </form></div> </div>
Copy the code of the second link below
<div data-xtcontainer="container" class="xt_container" style="text-align: center;"> <div class="zxfourborder" align="center"><script language="JavaScript"> var guessme=Math.round(Math.random()*(99)+1); var speech='Guess my number (from 1 to 100)'; function process(mystery) { var guess=document.forms.guessquiz.guess.value; var speech='"'+guess+ '" does not make sense to me.'; document.forms.guessquiz.guess.value=''; if (guess==mystery) { document.forms.guessquiz.prompt.value='Congratulations! '+mystery+' is correct!'; alert ('Well done - The number '+mystery+' was in my mind Press OK to continue..'); speech=''; document.location=document.location; } if (mystery>guess) { speech='Greater than '+ guess; } if (mystery<guess) { speech='Less than '+ guess; } if (guess=='') { speech='You didn\'t guess anything!' } document.forms.guessquiz.prompt.value=speech; document.forms.guessquiz.guess.focus(); } </script> <form onSubmit="" name="guessquiz"><input type="hidden" name="PHPSESSID" value="6e5b130de182c3b86c52f654e7720e80" /> <p>Guess which number is on My Mind right now... (1 - 100)</p> <input type="text" name="prompt" size="16" maxlength="40" value="Write your guess below.."/><br/> Your Guess:<br/><input type="text" name="guess" size="3" maxlength="3" value=""/> <input type="button" value="OK" onClick='process(guessme)'/> </form></div> </div>
#
2016-11-06 00:59 ·
(0)
Home
»
Coding Help
»
XtGem Coding Help
»
Becoded-Needs Help
» Lihat Kicauan dari
Online: Guests: 1
Online
:
1
Guest(s)
Today
:
417
Guest(s)
Total
:
935292
Hit(s)
Follow @Unlimitedapps7
HOMEPAGE
WHATSAPP ARENA
FACEBOOK ARENA
FORUM
GUESTBOOK
MP3 DOWNLOAD
VIDEO SECTION
Search For Files
Games
WAPMASTERS ZONE
Contact Us
2go Booster
Tutorials
Created by:
ONYECHELSEA™
Copyright © 2014 -
All Rights Reserved
Imo,
NI
GE
RIA
Log in
Old school Easter eggs.