I couldn't really figure it out. I clicked on things until they disappeared. Then if the HP got low I clicked a heal card. I wasn't sure if I was fighting the cards or if they were fighting for me?
There's a solid foundation of a roguelike card game here, but I think it needed a tutorial or something cause I was lost.