Patty cake is the Americanization of the old children's game pat-a-cake. In my province we tend to add the s for "Patty Cakes".
It's treated as a euphemism for sex until this scene where we find out that she really was just playing children's game with the guy. Roger and everyone else still treats it as Jessica breaking her marriage vows to Roger.