while calculateHandlen(hand) > 0:
print 'Current Hand:', displayHand(hand)
key = compChooseWord(hand, wordList, n)
if key == None:
break
else:
score += getWordScore(key, n)
print '"%s" earned %d points. Total: %d points' % (key, getWordScore(key, n), score)
hand = updateHand(hand, key)