Added basic card game logic.