Thanks for the kind words! The animations were a fun challenge (doubly so since you can't rotate images in HTML canvas) but interestingly enough the unfolded view is simply the result of calling the "next move" code. Now the movement code itself is a rat's nest but that's another matter.