Ad Code

Mind Fresh Game Easy and Simple

Advertisements

Mind Fresh Game Easy and Simple,This game is very easy and simple to play.At first copy the below HTML code and paste it Notepad than save as game.html.Finally run(open)it and enjoy !!!

<html>
<head>
<script language="JavaScript">
<!--Begin
var total=0
var start=false
function show(element)
{
var now=new Date()
if(!start)
{
start=true
beginTime=now.getTime()}
<!---------------------------->
if(now.getTime() - beginTime>20000)
{
element.checked=!element.checked
return
}
if(element.checked)
total++
else
    total--
element.form.number.value=total
}
function newstart(form)
{
total=0
start=false
for(var i=1;i<=100;++i)
<!---------------->
{
form.element[i].checked=false
}
}
//end-->
</script>
</head>
<body bgcolor="#f0c0de">
<center>
<font size="6">Check your Speed. How many boxes can you check in 20 seconds?</Font>
<br>Design by<Font color="blue"size="4+"> <B><u><i>Malin Sarkar</i></u></B>
</Font>Contact No<Font color="blue"><B><i> +91 9933 407 406</B></i></Font>
</center>
<script language="JavaScript">
<!--Begin
document.write("<form><center>")
document.write('<input type="text" value="0" ');
document.write('name="number"size=10 onFocus="this.blur()"><br>')
document.write("<hr size=1 width=40%>")
<!----------------------------------->
for(var i=0;i<10;++i)
{
for(var j=0;j<10;++j)
{
document.write('<input type ="checkbox" ');
document.write('onClick="show(this)">')}
<!------------------------------------->
document.write("<br>")}
document.write("<hr size =1 width=40%>")
document.write('<input type="button"value="Restart" ');
document.write('onClick="newstart(this.form)">')
document.write("</center></form>")
//end-->
</script>
</body>
</html>

Output


Download Link
Advertisements