Chase Level

  • Uploaded by: bukhori
  • 0
  • 0
  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Chase Level as PDF for free.

More details

  • Words: 85
  • Pages: 1
Chase the Cheese <script> var wHeight=600; var wWidth=800; var level=1; function lari() { for (var i=1; i<=level; i++) { var cheese=document.getElementById("cheese"+i); var xpos=parseInt(cheese.style.left); var ypos=parseInt(cheese.style.top); cheese.style.left=Math.random()*wWidth; cheese.style.top=Math.random()*wHeight; } } function menang() { window.alert("Selamat anda menang!!!!"); var str=document.body.innerHTML; level++; window.alert("Naik ke level "+level); document.getElementById("kotak").innerHTML=''; for (var i=1; i<=level; i++) { document.getElementById("kotak").innerHTML+=''; } }

Related Documents

Chase Level
June 2020 11
Chase State
June 2020 12
Chase Memory
May 2020 9
Chase Thornton
June 2020 7
Chase Collect
April 2020 9
King Chase
December 2019 13

More Documents from "James"

Chase Level
June 2020 11
Sda
June 2020 21
Transformator(1).docx
October 2019 12