»
Tiếng AnhTiếng PhápTiếng Việt

In - Tìm nơi đúng - JavaScriptBank.com

Phiên bản đầy đủ: jsB@nk » Trò chơi » Tìm nơi đúng
URL: https://www.javascriptbank.com/find-the-spy.html

Tìm nơi đúng © JavaScriptBank.comTrò chơi JavaScript yêu cầu bạn đánh dấu để tìm nơi đúng.

Phiên bản đầy đủ: jsB@nk » Trò chơi » Tìm nơi đúng
URL: https://www.javascriptbank.com/find-the-spy.html



JavaScript
<script language="JavaScript"><!-- Beginxloc = new Array(10);yloc = new Array(10);xloc[0] = "xa"xloc[1] = "xb"xloc[2] = "xc"xloc[3] = "xd"xloc[4] = "xe"xloc[5] = "xf"xloc[6] = "xg"xloc[7] = "xh"xloc[8] = "xi"xloc[9] = "xj"yloc[0] = "ya"yloc[1] = "yb"yloc[2] = "yc"yloc[3] = "yd"yloc[4] = "ye"yloc[5] = "yf"yloc[6] = "yg"yloc[7] = "yh"yloc[8] = "yi"yloc[9] = "yj"today=new Date();jran=today.getTime();var number=10;var guesses=1;var random_numx=0;ia=9301;ic=49297;im=233280;jran = (jran*ia+ic) % im;random_numx=Math.ceil( (jran/(im*1.0)) *number);today=new Date();jran=today.getTime();var number=10;var random_numy=0;ia=9301;ic=49297;im=233280;jran = (jran*ia+ic) % im;random_numy=Math.ceil( (jran/(im*1.0)) *number);spyloc = xloc[random_numx-1] + yloc[random_numy-1]function search(loc) {if (loc==spyloc) {alert("\n\nCongrats!  Bravo!  Good job!");alert("\n\nYou found the spy in " + guesses + " guesses!");}else {guesses++;alert("Nothing here....")   }}// End --></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<form method="post" name="searchb"><input type="checkbox" onclick="javascript:search('xaya');" value="ON"><input type="checkbox" onclick="javascript:search('xbya');" value="ON"><input type="checkbox" onclick="javascript:search('xcya');" value="ON"><input type="checkbox" onclick="javascript:search('xdya');" value="ON"><input type="checkbox" onclick="javascript:search('xeya');" value="ON"><input type="checkbox" onclick="javascript:search('xfya');" value="ON"><input type="checkbox" onclick="javascript:search('xgya');" value="ON"><input type="checkbox" onclick="javascript:search('xhya');" value="ON"><input type="checkbox" onclick="javascript:search('xiya');" value="ON"><input type="checkbox" onclick="javascript:search('xjya');" value="ON"><br><input type="checkbox" onclick="javascript:search('xayb');" value="ON"><input type="checkbox" onclick="javascript:search('xbyb');" value="ON"><input type="checkbox" onclick="javascript:search('xcyb');" value="ON"><input type="checkbox" onclick="javascript:search('xdyb');" value="ON"><input type="checkbox" onclick="javascript:search('xeyb');" value="ON"><input type="checkbox" onclick="javascript:search('xfyb');" value="ON"><input type="checkbox" onclick="javascript:search('xgyb');" value="ON"><input type="checkbox" onclick="javascript:search('xhyb');" value="ON"><input type="checkbox" onclick="javascript:search('xiyb');" value="ON"><input type="checkbox" onclick="javascript:search('xjyb');" value="ON"><br><input type="checkbox" onclick="javascript:search('xayc');" value="ON"><input type="checkbox" onclick="javascript:search('xbyc');" value="ON"><input type="checkbox" onclick="javascript:search('xcyc');" value="ON"><input type="checkbox" onclick="javascript:search('xdyc');" value="ON"><input type="checkbox" onclick="javascript:search('xeyc');" value="ON"><input type="checkbox" onclick="javascript:search('xfyc');" value="ON"><input type="checkbox" onclick="javascript:search('xgyc');" value="ON"><input type="checkbox" onclick="javascript:search('xhyc');" value="ON"><input type="checkbox" onclick="javascript:search('xiyc');" value="ON"><input type="checkbox" onclick="javascript:search('xjyc');" value="ON"><br><input type="checkbox" onclick="javascript:search('xayd');" value="ON"><input type="checkbox" onclick="javascript:search('xbyd');" value="ON"><input type="checkbox" onclick="javascript:search('xcyd');" value="ON"><input type="checkbox" onclick="javascript:search('xdyd');" value="ON"><input type="checkbox" onclick="javascript:search('xeyd');" value="ON"><input type="checkbox" onclick="javascript:search('xfyd');" value="ON"><input type="checkbox" onclick="javascript:search('xgyd');" value="ON"><input type="checkbox" onclick="javascript:search('xhyd');" value="ON"><input type="checkbox" onclick="javascript:search('xiyd');" value="ON"><input type="checkbox" onclick="javascript:search('xjyd');" value="ON"><br><input type="checkbox" onclick="javascript:search('xaye');" value="ON"><input type="checkbox" onclick="javascript:search('xbye');" value="ON"><input type="checkbox" onclick="javascript:search('xcye');" value="ON"><input type="checkbox" onclick="javascript:search('xdye');" value="ON"><input type="checkbox" onclick="javascript:search('xeye');" value="ON"><input type="checkbox" onclick="javascript:search('xfye');" value="ON"><input type="checkbox" onclick="javascript:search('xgye');" value="ON"><input type="checkbox" onclick="javascript:search('xhye');" value="ON"><input type="checkbox" onclick="javascript:search('xiye');" value="ON"><input type="checkbox" onclick="javascript:search('xjye');" value="ON"><br><input type="checkbox" onclick="javascript:search('xayf');" value="ON"><input type="checkbox" onclick="javascript:search('xbyf');" value="ON"><input type="checkbox" onclick="javascript:search('xcyf');" value="ON"><input type="checkbox" onclick="javascript:search('xdyf');" value="ON"><input type="checkbox" onclick="javascript:search('xeyf');" value="ON"><input type="checkbox" onclick="javascript:search('xfyf');" value="ON"><input type="checkbox" onclick="javascript:search('xgyf');" value="ON"><input type="checkbox" onclick="javascript:search('xhyf');" value="ON"><input type="checkbox" onclick="javascript:search('xiyf');" value="ON"><input type="checkbox" onclick="javascript:search('xjyf');" value="ON"><br><input type="checkbox" onclick="javascript:search('xayg');" value="ON"><input type="checkbox" onclick="javascript:search('xbyg');" value="ON"><input type="checkbox" onclick="javascript:search('xcyg');" value="ON"><input type="checkbox" onclick="javascript:search('xdyg');" value="ON"><input type="checkbox" onclick="javascript:search('xeyg');" value="ON"><input type="checkbox" onclick="javascript:search('xfyg');" value="ON"><input type="checkbox" onclick="javascript:search('xgyg');" value="ON"><input type="checkbox" onclick="javascript:search('xhyg');" value="ON"><input type="checkbox" onclick="javascript:search('xiyg');" value="ON"><input type="checkbox" onclick="javascript:search('xjyg');" value="ON"><br><input type="checkbox" onclick="javascript:search('xayh');" value="ON"><input type="checkbox" onclick="javascript:search('xbyh');" value="ON"><input type="checkbox" onclick="javascript:search('xcyh');" value="ON"><input type="checkbox" onclick="javascript:search('xdyh');" value="ON"><input type="checkbox" onclick="javascript:search('xeyh');" value="ON"><input type="checkbox" onclick="javascript:search('xfyh');" value="ON"><input type="checkbox" onclick="javascript:search('xgyh');" value="ON"><input type="checkbox" onclick="javascript:search('xhyh');" value="ON"><input type="checkbox" onclick="javascript:search('xiyh');" value="ON"><input type="checkbox" onclick="javascript:search('xjyh');" value="ON"><br><input type="checkbox" onclick="javascript:search('xayi');" value="ON"><input type="checkbox" onclick="javascript:search('xbyi');" value="ON"><input type="checkbox" onclick="javascript:search('xcyi');" value="ON"><input type="checkbox" onclick="javascript:search('xdyi');" value="ON"><input type="checkbox" onclick="javascript:search('xeyi');" value="ON"><input type="checkbox" onclick="javascript:search('xfyi');" value="ON"><input type="checkbox" onclick="javascript:search('xgyi');" value="ON"><input type="checkbox" onclick="javascript:search('xhyi');" value="ON"><input type="checkbox" onclick="javascript:search('xiyi');" value="ON"><input type="checkbox" onclick="javascript:search('xjyi');" value="ON"><br><input type="checkbox" onclick="javascript:search('xayj');" value="ON"><input type="checkbox" onclick="javascript:search('xbyj');" value="ON"><input type="checkbox" onclick="javascript:search('xcyj');" value="ON"><input type="checkbox" onclick="javascript:search('xdyj');" value="ON"><input type="checkbox" onclick="javascript:search('xeyj');" value="ON"><input type="checkbox" onclick="javascript:search('xfyj');" value="ON"><input type="checkbox" onclick="javascript:search('xgyj');" value="ON"><input type="checkbox" onclick="javascript:search('xhyj');" value="ON"><input type="checkbox" onclick="javascript:search('xiyj');" value="ON"><input type="checkbox" onclick="javascript:search('xjyj');" value="ON"><br></form><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->