¥ë¡¼¥ì¥Ã¥È¤Î²èÁü¥Ð¡¼¥¸¥ç¥ó¤Ç¤¹¡£
¤Þ¤ºÅÒ¤±¤ë¾ì½ê¤òÁªÂò¤·¡¢¤«¤Ä³Ý¤±¶â¤âÁª¤Ù¤Þ¤¹¡£
Åö¤¿¤Ã¤¿¾ì¹ç¡¢³Ý¤±¶â¤Î£²ÇܤΥ³¥¤¥ó¤ò³ÍÆÀ¤Ç¤¤Þ¤¹¡£
¥¹¥í¥Ã¥È¤È°ã¤Ã¤Æ¡¢¥¿¥¤¥ß¥ó¥°¤µ¤¨¹ç¤¨¤Ð£Ï£Ë¤Ê¤Î¤Ç¤±¤Ã¤³¤¦´Êñ¤ËÅö¤¿¤ë¤È»×¤¤¤Þ¤¹¡£
¥ê¥»¥Ã¥È¤ò²¡¤¹¤È½é´ü¾õÂÖ¤ËÊÖ¤ê¤Þ¤¹¡£
¥³¥¤¥ó¤¬¥¼¥í¤Ë¤Ê¤ë¤È¡¢¤½¤Î»ÝÅÁ¤¨¤ë¥À¥¤¥¢¥í¥°¤¬½Ð¤Þ¤¹¡£
²èÁü¤ÏŬÅö¤Ëºî¤Ã¤¿¤â¤Î¤Ê¤Î¤Ç¡¢»ÈÍѤ¹¤ëºÝ¤Ï¤´¼«Ê¬¤ÇÎɤ¤²èÁü¤òºîÀ®¤µ¤ì¤ë¤Î¤¬¤¤¤¤¤È»×¤¤¤Þ¤¹¡£
¡¦¥µ¥ó¥×¥ë¤ò¸«¤ë
¡¦¥½¡¼¥¹¤òÊݸ¤¹¤ë ¡Ê±¦¥¯¥ê¥Ã¥¯¢ª¡ÖÂоݤò¥Õ¥¡¥¤¥ë¤ËÊݸ¡×or¡Ö¥ê¥ó¥¯¤ò̾Á°¤òÉÕ¤±¤ÆÊݸ¡×¤·¤Æ²¼¤µ¤¤¡£¡Ë
¡¦¥½¡¼¥¹¤ò¸«¤ë ¡¦²òÀâ¤ò¸«¤ë
[ ¥½¡¼¥¹ ]
<html>
<head>
<script language="JavaScript">
<!--//Copyright (C) WEST MiRa http://www.west-mira.jp
d=0;
hayasa=50;
coin=50;
bai=2;
kekka=coin;
kakekinn=0;
e=0;doko=0;i=0;
pic1=new Array();
pic2=new Array();
for(k=0; k<12; k++){
pic1[k]=new Image();
pic1[k].src=""+k+".gif";
pic2[k]=new Image();
pic2[k].src=""+k+"b.gif";}
function img_load()
{
for(i=0; i<pic1.length; i++)
{
document.images["hidden"].src=pic1[i].src;
document.images["hidden"].src=pic2[i].src;
}
hajime();
}
function hajime()
{
for(k=0; k<12; k++)document.images["text"+k].src=pic1[k].src;
kekka=coin;
document.form1.kekka.value=coin;
i=0;
}
function starts(dotti)
{
kakekinn=document.form1.kakekinn.selectedIndex;
kaekekinn=(kakekinn==-1)?1:kakekinn++;
if(dotti==0)
{
if(coin<1)
{
alert("µ®Êý¤Ï¥³¥¤¥ó¤ò»È¤¤²Ì¤¿¤·¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡Ä¡£");
document.form1.kekka.value=0;
}
else
{
kekka-=kakekinn;
document.form1.kekka.value=kekka;
doko=document.form1.basyo.selectedIndex;
if(doko==-1)basyo=0;
e=0; i=0; roulette();
}
}
else if(dotti==1)e=10000;
}
function roulette()
{
if(e<10000)
{
document.images["text"+i].src=pic2[i].src;
for(k=0; k<12; k++)if(k!=i)document.images["text"+k].src=pic1[k].src;
e++;
if(i<11)i++;
else i=0;
clearTimeout(d);
d=setTimeout('roulette()',hayasa);
}
else if(e==10000)
{
if(i!=0)a=i-1;
else a=11;
if(a==doko)
{kekka=kakekinn*bai+kekka;
document.form1.kekka.value=kekka;}
}
}
//-->
</script>
</head>
<body onLoad="img_load()">
<table><tr><td>
<table border="0" cellpadding="1"><tr>
<td align="center">
<img src="9.gif" border="0" name="text9"></td>
<td align="center">
<img src="10.gif" border="0" name="text10"><br><br><br>
<img src="8.gif" border="0" name="text8"></td>
<td align="center">
<img src="11.gif" border="0" name="text11"><br><br><br><br><br>
<img src="7.gif" border="0" name="text7"></td>
<td align="center">
<img src="0.gif" border="0" name="text0"><br><br><br><br><br><br><br>
<img src="6.gif" border="0" name="text6"></td>
<td align="center">
<img src="1.gif" border="0" name="text1"><br><br><br><br><br>
<img src="5.gif" border="0" name="text5"></td>
<td align="center">
<img src="2.gif" border="0" name="text2"><br><br><br>
<img src="4.gif" border="0" name="text4"></td>
<td align="center">
<img src="3.gif" border="0" name="text3"></td>
</tr></table>
</td></tr>
<form name="form1">
<tr>
<td>¼ê»ý¤Á¥³¥¤¥ó¤Ï¤¢¤È<input type="text" size="3" name="kekka">Ëç¡£</td>
</tr>
<tr>
<td><select name="basyo"><option>0<option>1<option>2<option>3<option>4<option>5
<option>6<option>7<option>8<option>9<option>10<option>11
</select>¤Ë
<select name="kakekinn">
<option>1<option>2<option>3<option>4<option>5<option>6<option>7<option>8<option>9<option>10
<option>11<option>12<option>13<option>14<option>15<option>16<option>17<option>18
<option>19<option>20
<option>21<option>22<option>23<option>24<option>25<option>26<option>27<option>28
<option>29<option>30
</select>ËçÅÒ¤±¤ë¡£</td>
</tr>
<tr>
<td>
<input type="button" value="Start!" onClick="starts(0);">
<input type="button" value="Stop!" onClick="starts(1);">
<input type="button" value="Reset" onClick="hajime();">
<img src="" name="hidden" width="1" height="1" border="0">
</td>
</tr>
</table>
</form>
</body>
</html>
[ ²òÀâ ]
¥ë¡¼¥ì¥Ã¥È¤¬²ó¤ëÁᤵ¤òÄ´À᤹¤ë¤Ë¤Ï¡¢
¾å¤«¤é7¹ÔÌܤΡÖhayasa=50;¡×¤òÊѤ¨¤Þ¤¹¡£
¡Ö50¡×¤È½ñ¤«¤ì¤¿Éôʬ¤Ë¤ª¹¥¤¤Ê¿ô»ú¤òÆþ¤ì¤Æ²¼¤µ¤¤¡£
Â礤¯¤·²á¤®¤ë¤È¡¢²ó¤ë´¶³Ð¤¬ÃÙ¤¯¤Ê¤ê¤¹¤®¤ë¤Î¤ÇÃí°Õ¡£
°ìÈֺǽé¤Î¥³¥¤¥ó¤ÎËç¿ô¤òÊѤ¨¤¿¤¤¾ì¹ç¤Ï¡¢¾å¤«¤é8¹ÔÌܤΡÖcoin=50;¡×¤Î¡Ö50¡×¤òÊѹ¹¤·¤Æ²¼¤µ¤¤¡£
Åö¤¿¤ê¤¬½Ð¤¿¾ì¹ç¤ÎÇÜΨ¤òÊѤ¨¤¿¤¤¾ì¹ç¤Ï¡¢¾å¤«¤é9¹ÔÌܤˤ¢¤ë¡Öbai=2;¡×¤Î¡Ö2¡×¤òÊѹ¹¤·¤Æ¤¯¤À¤µ¤¤¡£
Î㤨¤Ð¸½ºß¤Ï¡¢Åö¤¿¤ê¤¬½Ð¤¿¤éÅÒ¤±¤¿¥³¥¤¥ó¤Î£²ÇܤΥ³¥¤¥ó¤ò³ÍÆÀ¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤Þ¤¹¤¬¡¢
¤½¤ì¤ò£³ÇܤËÊѤ¨¤¿¤¤¤Ê¤é¡Öbai=3;¡×¤È¡¢Êѹ¹¤·¤Æ²¼¤µ¤¤¡£
¼¡¤Ë¥ë¡¼¥ì¥Ã¥È¤Ç»ÈÍѤ¹¤ë²èÁü¤òÍÑ°Õ¤·¤Þ¤¹¡£
»ÈÍѤ¹¤ë²èÁü¤Ï¡¢²¿¤Ç¤â¤ª¹¥¤¤Ê¤â¤Î¤ò¤´ÍÑ°Õ²¼¤µ¤¤¡£
¤¿¤À¤·Ãí°Õ¤¬¤¢¤ê¤Þ¤¹¡£
¤Þ¤º0¡Á11¤Þ¤Ç¤Î²èÁü¤òÍÑ°Õ¤·¤Þ¤¹¡£¤½¤Î²èÁü̾¤Ï¡¢É¬¤º¿ô»ú¤ÇÉÕ¤±¤Æ²¼¤µ¤¤¡£
Î㤨¤Ð¡Ö0¡×¤Î²èÁü¤Ê¤é¤Ð¡Ö0.gif¡×¤Ë¡¢¡Ö1¡×¤Î²èÁü¤Ê¤é¤Ð¡Ö1.gif¡×¤È¸À¤¦¤è¤¦¤Ë¡£
¼¡¤Ë¥ë¡¼¥ì¥Ã¥È¤¬²ó¤Ã¤Æ¤¤¤ë¤è¤¦¤Ë¸«¤»¤ë¤¿¤á¡¢Æ±¤¸²èÁü¤Ç¿§°ã¤¤¤Î¤â¤Î¤òÍÑ°Õ¤·¤Þ¤¹¡£
¤³¤Á¤é¤âƱ¤¸¤è¤¦¤Ë0¡Á11¤Þ¤Ç¤Î²èÁü¤¬É¬ÍפǤ¹¡£
¤³¤Á¤é¤Î²èÁü¤Î̾Á°¤Ï¡¢¿ô»ú¤Ë¡Öb¡×¤òÉÕ¤±¤Æ²¼¤µ¤¤¡£
Î㤨¤Ð¡Ö0¡×¤Î²èÁü¤Ê¤é¤Ð¡Ö0b.gif¡×¤Ë¡¢¡Ö1¡×¤Î²èÁü¤Ê¤é¤Ð¡Ö1b.gif¡×¤È¸À¤¦¤è¤¦¤Ë¡£
¤Þ¤¿²èÁü¤Ïɬ¤º¡¢HTML¤ÈƱ¤¸¥Ç¥£¥ì¥¯¥È¥ê¤ËÊݸ¤·¤Æ²¼¤µ¤¤¡£
¥³¥¤¥ó¤ò»È¤¤²Ì¤¿¤·¤¿»þ¤Î¥á¥Ã¥»¡¼¥¸¤òÊѤ¨¤¿¤¤¾ì¹ç¤Ï¡¢¾å¤«¤é48¹ÔÌܤÎ
alert("µ®Êý¤Ï¥³¥¤¥ó¤ò»È¤¤²Ì¤¿¤·¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡Ä¡£");
¤òÊѹ¹¤·¤Þ¤¹¡£
¡Öµ®Êý¤Ï¥³¥¤¥ó¤ò»È¤¤²Ì¤¿¤·¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡Ä¡£¡×¤ÎÉôʬ¤ò¤ª¹¥¤¤Ê¥á¥Ã¥»¡¼¥¸¤ËÊѤ¨¤Æ²¼¤µ¤¤¡£
|