Modify flow and add score function.

Always flip a card.
Score function may have bugs.