Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <body onload="setInterval(Count,1000);">
- <script language="javascript">
- alert('Take as long as you need to make all of the mushrooms disapear.');
- var Score=0;
- var Time=1;
- function Count(){
- Time++;
- if(Time==100){
- //alert('Game Over!!');
- //End Game In 100 Seconds If You Want!!
- }
- }
- </script>
- <center>
- <marquee scrolldelay="80">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="85">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="90">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="95">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="100">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="110">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="115">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="120">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="125">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="130">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="135">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="140">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="145">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="150">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="155">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="160">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="165">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="170">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="175">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- <marquee scrolldelay="180">
- <div style="height:10px;width:10px;overflow:scroll;">
- <img src="https://2.bp.blogspot.com/-iihqGvDrVgU/UT0jHOxwXoI/AAAAAAAAkms/nXfH53enGGI/s10/mario_mushroom_big.png" width="10" height="10" onclick="javascript:this.hidden=true;Score++;if(Score==20){document.writeln('<center>You Won!!<br>');document.writeln('The Amount Of Time Spent Was '+Time+' Seconds.');}"/><br/>
- </div>
- </marquee>
- <br>
- </div>
- </marquee>
- </center>
- </body>
Add Comment
Please, Sign In to add comment