Rocks are falling from the sky! You get an
array
of columns: rockso
and platforms#
Simulate rocks’ flight until they hit a platform, another rock or the bottom. Platforms stay put.map
is an array in the format['ooo###...', ...]
wheremap[2][5]
translates to the rock atx: 2, y: 5
return
the result after all rocks have stopped moving.
Tag: javascript
jQuery Blink Plugin
In response to the RIP <blink> posted on http://www.dosomethinghere.com/ I decided to do something about this blink tag problem we all have with Internet Explorer.
I’ve always been a fan of the blink tag and think sites can benefit greatly using it.
Here’s my solution: A jQuery Blink Plugin
View Demo: http://johnboker.github.io/blink-demo.html
Download: jquery.blink