This weekend I've finished the card game by adding some win and lose condition, some attack shake, fixing a couple of bugs with the health, and the heal mechanic to add some tension to the game.
The code is in the attachments, give it a try.
is only available to registered users. Visit the login page if you have an account. Otherwise visit the registration page to create one.