Added logic to game mode switch and deal button as well as 3 card mode