Made a workable version of determining how many cards you can play. I
will try fixing that.