All games are randomly dealt which means that not all games are going to be winnable. You may find that there is no possible solution when you approach the end of a game.