Rethinking the function game_checkCard