Green’s Dictionary of Slang

heads and tails n.

(Aus.) the act of sixty-nine n. (1)

[Scot] ‘The Court of Equity’ in Burns Merry Muses of Caledonia (1965) 212: For ye had furl’d up her sails, / An’ was at play at heads an’ tails.