At first I thought the numbers on the icons meant how many of them I had and not the cost. After that and reading the controls, so I knew how to rotate, it was a lot of fun... until I managed to kinda break it by making an infinite loop :D
Very cool game and good use of the theme!