Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var symbol=new Array()
- symbol[0]='♥'
- symbol[1]='♦'
- symbol[2]='♣'
- symbol[3]='♠'
- var nomor='A23456789JQK';
- var acaknomor=Math.floor(Math.random()*(nomor.length))
- var acaksymbol=Math.floor(Math.random()*(symbol.length))
- var kartu='<table border=0 height=100% width=100%><tr><td align=center><font size=12>'+nomor[acaknomor]+'<br>'+symbol[acaksymbol]+'</font></td></tr></table>'
- document.write(kartu);
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement