[broken] Javascript Game No.3: catch the ball

These js games are out of date

Sure - I haven't thought of a way this could be used to clarify or illustrate a news story yet - but, in the meantime...

Can you catch the disco ball?



This is a bit tidier than some of my other efforts.

I copied a lot of the bounce-off-the-edges code from this great jfiddle document.

Bugs include the fact that the results text sometimes gets stuck part way down the page, and that the reload button reloads the whole page - not just a part of the script. Which is all it needs. Something for next time...

Tweets

Follow me on Twitter: