javascript based RPG game with card elements