Some bugfixes, added card directive to simplify game template