Checked endgame. Found one minor bug towards end of game when no cards are left on deck. Looks good