Workshop › Klondike Solitaire › Step 22 of 40
When the last face-up card leaves a column, the face-down card under it is uncovered and turns face up.
```js
const exposed = last(piles[from])
if (from[0] === 't' && exposed) exposed.up = true
```exposed is the card now on top of the source pile (or undefined if it is empty).In tryMove, between the push line and return true, write the two lines.
Skills: Game states
← Move cards by the rules Find where a card goes →