Fixed Division by 0 bug

Problem resided in getValue function not matching the text of the card,
so it was switched to getText.  I plan on revamping code to use getValue
instead of getText at some later time