Update game logic. TODO improvements to performance during choosing
random cards.