fixed integer precision cardsRemaining compiler error