People definitely need some distractions but for me it's definitely not 99% of the time. Also, I could argue sometimes the solitaire game between coding stints is actually loading up your brain with some software thoughts, and then giving it a little break to process. Sometimes it takes a day for me to come back and feel like my brain has reconciled some details of a hard problem and only then can I make progress.