added condition with getting facecard piles, and gameover check.
fixed #3 and fixed #2. seems stable enough