Bejeweled AS3 engine with array rotation - Emanuele Feronato | Everything about Flash | Scoop.it

I wanted to have a look at a Bejeweled game featuring the 90 degrees array rotation I explained yesterday.

So I took the script made by Brook Jordan in the complete Bejeweled game in less than 2KB – legible version and added some quick and dirty code to make it work: