The exact rules used here
Thirty-five cards form seven face-up columns and one card starts the waste. Only the exposed bottom card of a column may be played, and it must be exactly one rank above or below the waste. Suits do not matter. Ace connects only to Two, while King connects only to Queen; this ruleset does not wrap Ace to King.