regarding the king fight posts below. you do fight the king in the kings games round 50. Can be accessed through the shop in the lower left. Klick the text, not the crown image.
Noticed some problems with high amounts of money. There is no bounds check on max int value, so once you get more money an integer overflow will occur, resulting in negative money. However, you can still buy stuff with that, getting "more negative money".
Another thing is the kings game. The rewards seem weired. i Started with level 170, having a copper sword +1030, one-hitting everything. first the rewards in money and exp are small, but increasing exponentially. when i reached kings game 50, i was already level 2000+, only from doing the kings game. The money i got by then caused the money int overflow (got hundreds of millions of money as rewards on higher levels)
Maybe this could be fixed by applying an int bounds check on money (and problably on stats as well, had over 300k dex. At some point, this will result in an overflow too). Furthermore, the Exp and money gained from the Kings game needs to be scaled better.
memory management could be improved alot. e.g. after some time or browsing a lot of cards in the shop, flash uses about 300mb ram and the game gets really slow. And in my case the machine is not the bottleneck.