modified scoring function, added cards left counter