Workshop › Klondike Solitaire › Step 40 of 40
Once the stock and the waste are empty and every card on the table is face up, the game is certainly won; only the boring part is left. Make the game finish itself: one card to a foundation every few frames, until it is won.
When the stock and the waste are empty and every tableau card is face up, move one card to a foundation every few frames (for example every 8), until the game is won. Otherwise, and while a card is held, do nothing.
Skills: Game states, The game loop