javascript - Cheat for hidden game "Atari Breakout" in Google Image Search -


how cheat/auto moving paddle in this hidden html game like?

there

<div id="breakout-ball"><span>●</span></div> 

and

<div id="breakout-paddle"></div> 

when moving mouse paddle moved horizontally. how can connect movement of ball paddle?

this question become "community wiki" possible.

function cheat() {     var ball   = document.getelementbyid('breakout-ball');     var paddle = document.getelementbyid('breakout-paddle');      paddle.style.left = ball.style.left;      settimeout(cheat, 20); }  cheat();  // add via firebug console.  

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -