complete the cardScore function
resolve a problem when calc small point

1. when the pattern rank is small , they are not in the front of array ,
so can not discard from front
2. use reduce to calc small point
resolve flush straight problem & add pots assign

1. flush&&straight is not flush straight
2. pots assign not complete (learn from node-joker)